Skip to content

Commit

Permalink
fix: npm publish workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
haixuxu committed Feb 20, 2024
1 parent 9413de7 commit 49fa6f4
Show file tree
Hide file tree
Showing 2 changed files with 2,323 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ on:
push:
tags:
- 'v*' # Push events to matching v*, i.e. v1.0, v20.15.10

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -15,6 +15,7 @@ jobs:
node-version: '20.x'
registry-url: 'https://registry.npmjs.org'
- run: npm ci
- run: npm run build
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
Loading

0 comments on commit 49fa6f4

Please sign in to comment.