We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 538e43c commit 96f481dCopy full SHA for 96f481d
1 file changed
.github/workflows/nodejs.yml
@@ -5,19 +5,19 @@ on:
5
branches:
6
- master
7
8
+permissions:
9
+ id-token: write # supports npmjs.com Trusted Publishers
10
+ contents: read # to access the current repo
11
+
12
jobs:
13
build:
14
runs-on: ubuntu-latest
- strategy:
- matrix:
- node-version: [12.x]
15
steps:
16
- uses: actions/checkout@v1
- - name: Use Node.js ${{ matrix.node-version }}
17
- uses: actions/setup-node@v1
+ - name: Use Node.js
18
+ uses: actions/setup-node@v4
19
with:
- node-version: ${{ matrix.node-version }}
20
- - name: npm login
21
- run: echo "//registry.npmjs.org/:_authToken=${{secrets.NPM_AUTH_TOKEN}}" > ~/.npmrc
+ node-version: '24'
+ registry-url: 'https://registry.npmjs.org'
22
- name: npm publish
23
run: npm publish
0 commit comments