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

Commitf86059f

Browse files
authored
chore: Update workflows to cache dependencies (anuraghazra#2083)
1 parentaaf710c commitf86059f

File tree

4 files changed

+38
-9
lines changed

4 files changed

+38
-9
lines changed

‎.github/workflows/e2e-test.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,24 @@ jobs:
88
github.event_name == 'deployment_status' &&
99
github.event.deployment_status.state == 'success'
1010
runs-on:ubuntu-latest
11+
strategy:
12+
matrix:
13+
node-version:[16.x]
14+
1115
steps:
1216
-uses:actions/checkout@v3
17+
18+
-name:Setup Node
19+
uses:actions/setup-node@v3
20+
with:
21+
node-version:${{ matrix.node-version }}
22+
cache:npm
23+
1324
-name:Install dependencies
1425
run:npm ci
1526
env:
1627
CI:true
28+
1729
-name:Run end-to-end tests.
1830
run:npm run test:e2e
1931
env:

‎.github/workflows/generate-theme-doc.yml

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,18 @@ on:
1010
jobs:
1111
build:
1212
runs-on:ubuntu-latest
13+
strategy:
14+
matrix:
15+
node-version:[16.x]
1316

1417
steps:
15-
-uses:actions/checkout@v1
16-
-name:setup node
17-
uses:actions/setup-node@v1
18+
-uses:actions/checkout@v3
19+
20+
-name:Setup Node
21+
uses:actions/setup-node@v3
1822
with:
19-
node-version:"16.x"
23+
node-version:${{ matrix.node-version }}
24+
cache:npm
2025

2126
-name:npm install, generate readme
2227
run:|

‎.github/workflows/preview-theme.yml

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,24 @@ on:
1111
jobs:
1212
previewTheme:
1313
runs-on:ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version:[16.x]
1417
name:Install & Preview
1518

1619
steps:
1720
-uses:actions/checkout@v3
18-
-uses:actions/setup-node@v3
21+
22+
-name:Setup Node
23+
uses:actions/setup-node@v3
1924
with:
20-
node-version:16
25+
node-version:${{ matrix.node-version }}
26+
cache:npm
27+
2128
-uses:bahmutov/npm-install@v1
2229
with:
2330
useLockFile:false
31+
2432
-run:npm run preview-theme
2533
env:
2634
GITHUB_TOKEN:${{ secrets.GITHUB_TOKEN }}

‎.github/workflows/test.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,14 +11,18 @@ on:
1111
jobs:
1212
build:
1313
runs-on:ubuntu-latest
14+
strategy:
15+
matrix:
16+
node-version:[16.x]
1417

1518
steps:
16-
-uses:actions/checkout@v2
19+
-uses:actions/checkout@v3
1720

1821
-name:Setup Node
19-
uses:actions/setup-node@v1
22+
uses:actions/setup-node@v3
2023
with:
21-
node-version:"16.x"
24+
node-version:${{ matrix.node-version }}
25+
cache:npm
2226

2327
-name:Install & Test
2428
run:|

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp