Skip to content
Merged
Show file tree
Hide file tree
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ jobs:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/checkout@v4

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 24
cache: "npm"

- run: npm ci
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
permissions:
contents: write # to create release (changesets/action)
pull-requests: write # to create pull request (changesets/action)
id-token: write # OpenID Connect token needed for provenance
id-token: write # OIDC token for npm trusted publishing (and provenance)
timeout-minutes: 5
runs-on: ubuntu-latest
steps:
Expand All @@ -22,9 +22,11 @@ jobs:
with:
fetch-depth: 0

- uses: actions/setup-node@v3
- uses: actions/setup-node@v4
with:
node-version: 18
# trusted publishing requires npm >= 11.5.1 and node >= 22.14.0;
# node 24 ships npm 11.x, node 22 still ships npm 10.x
node-version: 24
cache: "npm"

- name: "Npm install"
Expand All @@ -43,4 +45,3 @@ jobs:
createGithubReleases: true
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
"lint": "eslint . --ext .ts",
"format": "prettier . --write",
"prepare": "husky install && husky set .husky/pre-commit 'npx lint-staged' && git add .husky/pre-commit",
"publish-patch": "npm version patch && git push && npm run build && npm publish --access public",
"changesets": "npx @changesets/cli"
},
"devDependencies": {
Expand Down
Loading