File tree Expand file tree Collapse file tree 3 files changed +56
-31
lines changed Expand file tree Collapse file tree 3 files changed +56
-31
lines changed Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ jobs:
13
13
runs-on : ubuntu-latest
14
14
steps :
15
15
- name : Checkout Repo
16
- uses : actions/checkout@v3
16
+ uses : actions/checkout@v4
17
17
18
- - name : Setup Node.js v18
19
- uses : actions/setup-node@v3
18
+ - name : Setup Node.js v20
19
+ uses : actions/setup-node@v4
20
20
with :
21
21
node-version : ' 20.x'
22
22
@@ -26,20 +26,28 @@ jobs:
26
26
rubygems : latest
27
27
bundler-cache : true
28
28
29
- - uses : pnpm/action-setup@v2
29
+ - uses : pnpm/action-setup@v4
30
+ name : Install pnpm
30
31
with :
31
32
version : 9
33
+ run_install : false
32
34
33
- - name : use node.js 20
34
- uses : actions/setup-node@v3
35
+ - name : Get pnpm store directory
36
+ shell : bash
37
+ run : |
38
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
39
+
40
+ - uses : actions/cache@v4
41
+ name : Setup pnpm cache
35
42
with :
36
- node-version : 20.x
37
- cache : ' pnpm'
38
- cache-dependency-path : |
39
- pnpm-lock.yaml
43
+ path : ${{ env.STORE_PATH }}
44
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/ pnpm-lock.yaml') }}
45
+ restore-keys : |
46
+ ${{ runner.os }}- pnpm-store-
40
47
41
48
- name : Install dependencies
42
49
run : pnpm install
50
+
43
51
- name : Install Vercel CLI
44
52
run : npm install --global vercel@canary
45
53
- name : Pull Vercel Environment Information
Original file line number Diff line number Diff line change @@ -16,24 +16,31 @@ jobs:
16
16
node-version : [18.x]
17
17
steps :
18
18
- name : Checkout Repo
19
- uses : actions/checkout@v3
19
+ uses : actions/checkout@v4
20
20
21
- - name : Setup Node.js v${{ matrix.node-version }}
22
- uses : actions/setup-node@v3
21
+ - name : Setup Node.js v20
22
+ uses : actions/setup-node@v4
23
23
with :
24
- node-version : ${{ matrix.node-version }}
24
+ node-version : ' 20.x '
25
25
26
- - uses : pnpm/action-setup@v2
26
+ - uses : pnpm/action-setup@v4
27
+ name : Install pnpm
27
28
with :
28
29
version : 9
30
+ run_install : false
29
31
30
- - name : use node.js v${{ matrix.node-version }}
31
- uses : actions/setup-node@v3
32
+ - name : Get pnpm store directory
33
+ shell : bash
34
+ run : |
35
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
36
+
37
+ - uses : actions/cache@v4
38
+ name : Setup pnpm cache
32
39
with :
33
- node-version : ${{ matrix.node-version }}
34
- cache : ' pnpm'
35
- cache-dependency-path : |
36
- pnpm-lock.yaml
40
+ path : ${{ env.STORE_PATH }}
41
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/ pnpm-lock.yaml') }}
42
+ restore-keys : |
43
+ ${{ runner.os }}- pnpm-store-
37
44
38
45
- name : Install dependencies
39
46
run : pnpm install
Original file line number Diff line number Diff line change 36
36
MINIO_ROOT_PASSWORD : minioadmin
37
37
options : --name=minio --health-cmd "curl http://localhost:9000/minio/health/live" --health-interval=0.1s --health-timeout=5s --health-retries=20
38
38
steps :
39
- - uses : actions/checkout@v3
39
+ - uses : actions/checkout@v4
40
40
# - uses: microsoft/playwright-github-action@v1
41
41
- run : wget https://dl.min.io/client/mc/release/linux-amd64/mc
42
42
- run : chmod +x ./mc
@@ -58,19 +58,29 @@ jobs:
58
58
bundler-cache : true
59
59
working-directory : " tests/rails"
60
60
61
- - uses : pnpm/action-setup@v2
61
+ - name : Setup Node.js v20
62
+ uses : actions/setup-node@v4
62
63
with :
63
- version : 9.x.x
64
+ node-version : ' 20.x'
65
+
66
+ - uses : pnpm/action-setup@v4
67
+ name : Install pnpm
68
+ with :
69
+ version : 9
64
70
run_install : false
65
71
66
- - name : use node.js ${{ matrix.node-version }}
67
- uses : actions/setup-node@v3
72
+ - name : Get pnpm store directory
73
+ shell : bash
74
+ run : |
75
+ echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
76
+
77
+ - uses : actions/cache@v4
78
+ name : Setup pnpm cache
68
79
with :
69
- node-version : ${{ matrix.node-version }}
70
- cache : ' pnpm'
71
- cache-dependency-path : |
72
- pnpm-lock.yaml
73
- tests/rails/pnpm-lock.yaml
80
+ path : ${{ env.STORE_PATH }}
81
+ key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
82
+ restore-keys : |
83
+ ${{ runner.os }}-pnpm-store-
74
84
75
85
- name : Install via pnpm
76
86
run : |
You can’t perform that action at this time.
0 commit comments