Skip to content

Commit 89fa55a

Browse files
committed
update node version and fix npmjs deployment issue
1 parent d720cd9 commit 89fa55a

File tree

5 files changed

+2552
-3096
lines changed

5 files changed

+2552
-3096
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,20 +14,15 @@ jobs:
1414

1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 20
17+
node-version: 24
1818

1919
- uses: pnpm/action-setup@v4
2020
with:
2121
run_install: true
22-
env:
23-
NPM_TOKEN: xxx
2422

2523
- uses: browser-actions/setup-chrome@v1
2624
with:
2725
chrome-version: stable
2826

2927
- name: Run all tests
3028
run: xvfb-run pnpm run ci
31-
env:
32-
NPM_TOKEN: xxx
33-

.github/workflows/deploy.yml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,10 @@ on:
66
types: [completed]
77
branches: [main]
88

9+
permissions:
10+
id-token: write # Required for OIDC
11+
contents: read
12+
913
jobs:
1014
deploy:
1115
name: Publish all NPM Packages
@@ -16,20 +20,14 @@ jobs:
1620

1721
- uses: actions/setup-node@v4
1822
with:
19-
node-version: 20
23+
node-version: 24
2024
always-auth: true
2125
registry-url: https://registry.npmjs.org
2226
scope: '@spearwolf'
2327

2428
- uses: pnpm/action-setup@v4
2529
with:
2630
run_install: true
27-
env:
28-
NPM_TOKEN: xxx
2931

3032
- run: pnpm run publishNpmPkg
3133
name: Publish packages
32-
env:
33-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
34-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
35-

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"license": "Apache-2.0",
77
"private": true,
88
"engines": {
9-
"node": ">=20.12.2",
9+
"node": ">=24.13.0",
1010
"pnpm": ">=9.1.2"
1111
},
1212
"packageManager": "pnpm@9.1.2",
@@ -29,19 +29,19 @@
2929
"publishNpmPkg": "pnpm nx run-many -t publishNpmPkg"
3030
},
3131
"devDependencies": {
32-
"@nx/eslint-plugin": "^19.5.4",
33-
"@nx/js": "^19.5.4",
32+
"@nx/eslint-plugin": "^19.8.14",
33+
"@nx/js": "^19.8.14",
3434
"@nx/linter": "^19.8.4",
35-
"@playwright/test": "^1.58.1",
36-
"@rollup/plugin-node-resolve": "^15.3.0",
37-
"@types/node": "^20.14.11",
38-
"@types/react": "^18.3.12",
35+
"@playwright/test": "^1.58.2",
36+
"@rollup/plugin-node-resolve": "^15.3.1",
37+
"@types/node": "^24.10.12",
38+
"@types/react": "^18.3.28",
3939
"@types/sinon": "^17.0.4",
40-
"@typescript-eslint/eslint-plugin": "^7.17.0",
41-
"@typescript-eslint/parser": "^7.17.0",
42-
"esbuild": "^0.27.2",
43-
"eslint": "^8.57.0",
44-
"eslint-config-prettier": "^9.1.0",
40+
"@typescript-eslint/eslint-plugin": "^7.18.0",
41+
"@typescript-eslint/parser": "^7.18.0",
42+
"esbuild": "^0.27.3",
43+
"eslint": "^8.57.1",
44+
"eslint-config-prettier": "^9.1.2",
4545
"eslint-plugin-astro": "^1.5.0",
4646
"eslint-plugin-import": "^2.32.0",
4747
"eslint-plugin-prettier": "^5.5.5",
@@ -52,14 +52,14 @@
5252
"leasot": "^14.4.0",
5353
"lil-gui": "^0.21.0",
5454
"npm-run-all": "^4.1.5",
55-
"nx": "^19.3.1",
55+
"nx": "^19.8.14",
5656
"prettier": "^3.8.1",
5757
"prettier-plugin-astro": "^0.14.1",
5858
"react": "^18.3.1",
5959
"rimraf": "^6.1.2",
60-
"sinon": "^18.0.0",
60+
"sinon": "^18.0.1",
6161
"tslib": "^2.8.1",
6262
"typescript": "^5.9.3",
63-
"vitest": "^1.6.0"
63+
"vitest": "^1.6.1"
6464
}
6565
}

0 commit comments

Comments
 (0)