Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commitfbdedd3

Browse files
committed
upgrade node to 22 and add provenance
1 parentaf28540 commitfbdedd3

File tree

3 files changed

+9
-9
lines changed

3 files changed

+9
-9
lines changed

‎.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
// Update 'VARIANT' to pick a Node version: 16, 14, 12.
88
// Append -bullseye or -buster to pin to an OS version.
99
// Use -bullseye variants on local arm64/Apple Silicon.
10-
"args": {"VARIANT":"16" }
10+
"args": {"VARIANT":"22" }
1111
},
1212

1313
// Set *default* container specific settings.json values on container create.

‎.github/workflows/nodejs.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ jobs:
55
build:
66
runs-on:ubuntu-latest
77
steps:
8-
-uses:actions/checkout@v2
9-
-name:Use Node.js 18.x
10-
uses:actions/setup-node@v1
8+
-uses:actions/checkout@v4
9+
-name:Use Node.js
10+
uses:actions/setup-node@v4
1111
with:
12-
node-version:18.x
12+
node-version:22.x
1313
-name:npm install, build, and test
1414
run:|
1515
npm install

‎.github/workflows/publish.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,17 @@ jobs:
88
publish-npm:
99
runs-on:ubuntu-latest
1010
steps:
11-
-uses:actions/checkout@v3
12-
-uses:actions/setup-node@v3
11+
-uses:actions/checkout@v4
12+
-uses:actions/setup-node@v4
1313
with:
14-
node-version:18
14+
node-version:22
1515
registry-url:https://registry.npmjs.org/
1616
cache:npm
1717
-run:npm ci
1818
-run:npm test
1919
-run:npm version ${TAG_NAME} --git-tag-version=false
2020
env:
2121
TAG_NAME:${{ github.event.release.tag_name }}
22-
-run:npm whoami; npm --ignore-scripts publish
22+
-run:npm whoami; npm --ignore-scripts publish --provenance
2323
env:
2424
NODE_AUTH_TOKEN:${{secrets.npm_token}}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp