Skip to content

Commit 1a89852

Browse files
committed
GitHub Actionsのワークフローをアップデート
1 parent ca5b21a commit 1a89852

2 files changed

Lines changed: 6 additions & 9 deletions

File tree

.github/workflows/ci.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,12 @@ jobs:
1212
runs-on: ubuntu-latest
1313
steps:
1414
- name: Checkout Code
15-
uses: actions/checkout@v5
15+
uses: actions/checkout@v6
1616

1717
- name: Setup Node.js
18-
uses: actions/setup-node@v5
18+
uses: actions/setup-node@v6
1919
with:
2020
node-version-file: .nvmrc
21-
cache: npm
2221

2322
- name: Install Packages
2423
run: npm ci
@@ -33,15 +32,14 @@ jobs:
3332
runs-on: ubuntu-latest
3433
steps:
3534
- name: Checkout Code
36-
uses: actions/checkout@v5
35+
uses: actions/checkout@v6
3736
with:
3837
fetch-depth: 0
3938

4039
- name: Setup Node.js
41-
uses: actions/setup-node@v5
40+
uses: actions/setup-node@v6
4241
with:
4342
node-version-file: .nvmrc
44-
cache: npm
4543

4644
- name: Install Packages
4745
run: npm ci

.github/workflows/deploy.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,12 @@ jobs:
1010
name: github-pages
1111
url: ${{ steps.deployment.outputs.page_url }}
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
with:
1515
fetch-depth: 0
16-
- uses: actions/setup-node@v5
16+
- uses: actions/setup-node@v6
1717
with:
1818
node-version-file: .nvmrc
19-
cache: npm
2019
- run: npm ci && npm run build
2120
env:
2221
GOOGLE_ANALYTICS_TRACKING_ID: ${{ vars.GOOGLE_ANALYTICS_TRACKING_ID }}

0 commit comments

Comments
 (0)