File tree Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Expand file tree Collapse file tree 1 file changed +13
-3
lines changed Original file line number Diff line number Diff line change @@ -11,23 +11,33 @@ jobs:
11
11
release :
12
12
name : Release
13
13
runs-on : ubuntu-latest
14
+ permissions :
15
+ id-token : write
16
+ contents : read
17
+
14
18
steps :
15
19
- name : Checkout Repo
16
20
uses : actions/checkout@v4
17
21
22
+ - name : Setup pnpm
23
+ uses : pnpm/action-setup@v2
24
+ with :
25
+ version : 9 # 必要なバージョンを指定
26
+
18
27
- name : Setup Node.js 20.x
19
28
uses : actions/setup-node@v4
20
29
with :
21
30
node-version : 20.x
22
31
registry-url : ' https://registry.npmjs.org'
32
+ cache : pnpm
23
33
24
34
- name : Install dependencies 🧹
25
- run : npm ci
35
+ run : pnpm install --frozen-lockfile
26
36
27
37
- name : Build 🔨
28
- run : npm run build
38
+ run : pnpm run build
29
39
30
40
- name : Publish 🎁
31
- run : npm publish --provenance --access public
41
+ run : pnpm publish --provenance --access public
32
42
env :
33
43
NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments