There was an error while loading. Please reload this page.
1 parent a0ee326 commit 2a50c47Copy full SHA for 2a50c47
1 file changed
.github/workflows/release.yml
@@ -15,15 +15,18 @@ jobs:
15
steps:
16
- uses: actions/checkout@v6
17
18
- - name: Use Node.js 22.x
+ - name: Use Node.js 24.x
19
uses: actions/setup-node@v6
20
with:
21
- node-version: 22.x
+ node-version: 24.x
22
registry-url: https://registry.npmjs.org
23
- cache: npm
+ package-manager-cache: false
24
+
25
+ - name: Use npm with trusted publishing support
26
+ run: npm install --global npm@11.18.0
27
28
- name: Install dependencies
- run: npm install
29
+ run: npm ci
30
31
- name: Type check
32
run: npm run type-check
@@ -36,8 +39,6 @@ jobs:
36
39
37
40
- name: Publish to npm
38
41
run: npm publish --access public
- env:
- NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
42
43
- name: Create GitHub Release
44
uses: softprops/action-gh-release@v2
0 commit comments