Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 7190f5c

Browse filesBrowse files
authored
Upgrade node to 22 and add provenance (#120)
upgrade node to 22 and add provenance
1 parent d79520e commit 7190f5c
Copy full SHA for 7190f5c

File tree

Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed
Filter options
Expand file treeCollapse file tree

2 files changed

+4
-3
lines changed

‎.github/workflows/ci.yml

Copy file name to clipboardExpand all lines: .github/workflows/ci.yml
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ jobs:
1414
- uses: actions/checkout@v4
1515
- uses: actions/setup-node@v4
1616
with:
17-
node-version: 19
17+
node-version: 22
1818
- run: npm install
1919
- run: npm test

‎.github/workflows/publish.yml

Copy file name to clipboardExpand all lines: .github/workflows/publish.yml
+3-2Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@ name: Publish
22
permissions:
33
contents: read
44
pull-requests: write
5+
id-token: write
56
on:
67
release:
78
types: [created]
@@ -13,7 +14,7 @@ jobs:
1314
- uses: actions/checkout@v4
1415
- uses: actions/setup-node@v4
1516
with:
16-
node-version: 20
17+
node-version: 22
1718
registry-url: https://registry.npmjs.org/
1819
cache: npm
1920
- run: npm ci
@@ -23,6 +24,6 @@ jobs:
2324
npm version ${TAG_NAME} --git-tag-version=false
2425
env:
2526
TAG_NAME: ${{github.event.release.tag_name}}
26-
- run: npm whoami; npm --ignore-scripts publish
27+
- run: npm whoami; npm --ignore-scripts publish --provenance
2728
env:
2829
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.