Skip to content

Commit

Permalink
chore: use npm publish task
Browse files Browse the repository at this point in the history
  • Loading branch information
taavettik committed Jan 24, 2024
1 parent a706a1a commit 230c045
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish-server.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,10 +18,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '20.x'
registry-url: 'https://npm.pkg.github.com'
- run: cat ../../.npmrc
- run: cat ../../.npmrc >> .npmrc
- run: npm ci && npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: JS-DevTools/npm-publish@v3
with:
token: ${{ secrets.GITHUB_TOKEN }}
registry: "https://npm.pkg.github.com"

0 comments on commit 230c045

Please sign in to comment.