Skip to content

Commit

Permalink
Update publish.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcisbee committed Jan 9, 2023
1 parent ba748e0 commit 0afa401
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: 16
- run: npm ci && npm install react preact vue@next
- run: npm ci
- run: npm install react preact vue@next
- run: npm run lint
- run: npm test
- run: npm run e2e
Expand All @@ -26,7 +27,10 @@ jobs:
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci && npm install react preact vue@next && npm run build
- run: cd dist && npm publish
- run: npm ci
- run: npm install react preact vue@next
- run: npm run build
- run: cd dist
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 comments on commit 0afa401

Please sign in to comment.