Skip to content

Commit

Permalink
ci: update github workflow for publishing
Browse files Browse the repository at this point in the history
  • Loading branch information
shc261392 committed Nov 8, 2023
1 parent c524d62 commit 2a966e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@ jobs:
with:
node-version: 18
- run: npm ci
- run: npm run build
- run: npx playwright install
- run: npm run test

publish-gpr:
Expand All @@ -31,6 +33,7 @@ jobs:
node-version: 18
registry-url: https://npm.pkg.github.com/
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

0 comments on commit 2a966e3

Please sign in to comment.