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
10 changes: 7 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,12 @@ on:
release:
types:
- published

# Trusted publishing configuration. See https://docs.npmjs.com/trusted-publishers
permissions:
id-token: write
contents: read

jobs:
build-and-publish-package:
runs-on: ubuntu-latest
Expand All @@ -12,7 +18,7 @@ jobs:
- name: Setup Nodejs
uses: actions/setup-node@v4
with:
node-version: '16'
node-version: '24'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: yarn install --immutable
Expand All @@ -22,8 +28,6 @@ jobs:
NODE_ENV: production
- name: Publish package
run: npm publish --access public
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
deploy-website:
name: Deploy website
uses: ./.github/workflows/deploy.yml
Expand Down