Skip to content

Commit 25758db

Browse files
committed
chore(workflows): Update actions versions to v4, add NPM registry URL
1 parent a573dd0 commit 25758db

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/check.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,10 @@ jobs:
99

1010
steps:
1111
- name: Checkout repository
12-
uses: actions/checkout@v3
12+
uses: actions/checkout@v4
1313

1414
- name: Set up Node.js
15-
uses: actions/setup-node@v3
15+
uses: actions/setup-node@v4
1616
with:
1717
node-version: 20.x
1818

.github/workflows/npm-publish.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,13 @@ jobs:
1515

1616
steps:
1717
- name: Checkout code
18-
uses: actions/checkout@v3
18+
uses: actions/checkout@v4
1919

2020
- name: Setup Node.js
21-
uses: actions/setup-node@v3
21+
uses: actions/setup-node@v4
2222
with:
2323
node-version: 20.x
24+
registry-url: 'https://registry.npmjs.org'
2425

2526
- name: Install dependencies
2627
run: npm install
@@ -29,6 +30,6 @@ jobs:
2930
run: npm run build
3031

3132
- name: Publish to NPM
32-
run: npm publish
33+
run: npm publish --provenance --access public
3334
env:
3435
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

0 commit comments

Comments
 (0)