Skip to content

Commit 7190f5c

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

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

.github/workflows/ci.yml

Lines 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

Lines 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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy