Skip to content

Commit 0a6bbad

Browse files
committed
💚 Fix Github Actions
1 parent 5098bc9 commit 0a6bbad

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

.github/workflows/publish.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,7 @@ name: Publish to npm
22

33
on:
44
push:
5-
branches:
6-
- main
7-
# タグが push されたときにも実行可能
5+
# タグが push されたときにのみ実行
86
tags:
97
- 'v*.*.*'
108

@@ -16,11 +14,11 @@ jobs:
1614
- name: Checkout repository
1715
uses: actions/checkout@v4
1816

19-
# Node.js をセットアップ
17+
# Node.js 22 をセットアップ
2018
- name: Setup Node.js
2119
uses: actions/setup-node@v3
2220
with:
23-
node-version: 20
21+
node-version: 22
2422
registry-url: https://registry.npmjs.org
2523

2624
# npm 認証トークンを設定

0 commit comments

Comments
 (0)