Skip to content

Commit e91fc22

Browse files
authored
Merge pull request #21 from microcmsio/feat/node-24
v3.1.1 Nodeのアップデート + NPM Publishの方法をセキュアなものに変更
2 parents 790f527 + eb45168 commit e91fc22

File tree

4 files changed

+899
-922
lines changed

4 files changed

+899
-922
lines changed

.github/workflows/release.yml

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -3,20 +3,22 @@ name: release
33
on:
44
push:
55
tags:
6-
- 'v*'
6+
- "v*"
7+
8+
permissions:
9+
id-token: write # Required for OIDC
10+
contents: read
711

812
jobs:
913
build:
1014
runs-on: ubuntu-latest
1115
steps:
12-
- uses: actions/checkout@v3
13-
- uses: actions/setup-node@v3
16+
- uses: actions/checkout@08c6903cd8c0fde910a37f88322edcfb5dd907a8 # v5.0.0
17+
- uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0
1418
with:
15-
node-version: '22.x'
16-
registry-url: 'https://registry.npmjs.org/'
17-
cache: 'yarn'
19+
node-version: "24.x"
20+
registry-url: "https://registry.npmjs.org/"
21+
cache: "yarn"
1822
- run: yarn install --frozen-lockfile
1923
- name: release on npm
2024
run: npm publish
21-
env:
22-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

.tool-versions

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
nodejs 22.17.1
1+
nodejs 24.11.0

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "nuxt-microcms-module",
3-
"version": "3.1.0",
3+
"version": "3.1.1",
44
"description": "microCMS integration for Nuxt.js",
55
"keywords": [
66
"nuxt",
@@ -55,4 +55,4 @@
5555
"eslint-config-prettier": "^10.1.5",
5656
"nuxt": "^4.0.0"
5757
}
58-
}
58+
}

0 commit comments

Comments
 (0)