Skip to content

Commit e2a1281

Browse files
committed
fucking npm annoying bullshit
1 parent 3a425b4 commit e2a1281

1 file changed

Lines changed: 13 additions & 18 deletions

File tree

.github/workflows/publish-npm.yml

Lines changed: 13 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -6,30 +6,25 @@ on:
66
branches:
77
- main
88

9-
env:
10-
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
9+
permissions:
10+
id-token: write # Required for OIDC
11+
contents: read
12+
1113

1214
jobs:
1315
publish:
1416
runs-on: ubuntu-latest
15-
permissions:
16-
contents: read
17-
id-token: write
18-
1917
steps:
20-
- name: Checkout
21-
uses: actions/checkout@v4
18+
- name: test
19+
uses: actions/checkout@v6
2220

23-
- name: Setup Node
24-
uses: actions/setup-node@v4
21+
- name: test2
22+
uses: actions/setup-node@v6
2523
with:
26-
node-version: "24"
27-
28-
- name: Upgrade npm
29-
run: |
30-
npm install -g npm@11.11.1
31-
npm --version
32-
33-
- name: Publish package
24+
node-version: '24'
25+
registry-url: 'https://registry.npmjs.org'
26+
27+
- name: test3
3428
working-directory: bindings/javascript
3529
run: npm publish --access public
30+

0 commit comments

Comments
 (0)