Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,18 +19,18 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: 24
registry-url: https://registry.npmjs.org
- name: Install dependencies
run: npm ci
- name: Build package
run: npm run build
- name: Publish beta
if: github.ref_name == 'master'
run: npm publish --access public --tag beta
run: npm publish --access public --provenance --tag beta
- name: Publish alpha
if: github.ref_name == 'master-4'
run: npm publish --access public --tag alpha
run: npm publish --access public --provenance --tag alpha
- name: Publish latest
if: github.ref_name != 'master' && github.ref_name != 'master-4'
run: npm publish --access public --tag latest
run: npm publish --access public --provenance --tag latest
Loading