File tree 5 files changed +40
-126
lines changed
5 files changed +40
-126
lines changed Original file line number Diff line number Diff line change @@ -12,34 +12,16 @@ jobs:
12
12
runs-on : ubuntu-latest
13
13
14
14
steps :
15
- - name : Checkout code
16
- uses : actions/checkout@v2
17
-
18
- - name : Install node
19
- uses : actions/setup-node@v4
20
- with :
21
- node-version : 22
22
-
23
- - name : Install pnpm
24
- uses : pnpm/action-setup@v4.0.0
25
-
26
- - name : Get pnpm store directory
27
- id : pnpm-cache
15
+ - name : Set alternate npm integrity keys
28
16
run : |
29
- echo "pnpm_cache_dir=$(pnpm store path )" >> "$GITHUB_OUTPUT"
30
-
31
- - name : Cache pnpm modules
32
- uses : actions/cache @v4
17
+ echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}' )" >> $GITHUB_ENV
18
+ - uses : actions/checkout@v4
19
+ - run : corepack enable
20
+ - uses : actions/setup-node @v4
33
21
with :
34
- path : |
35
- ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
36
- ~/.cache/Cypress
37
- key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
38
- restore-keys : |
39
- pnpm-v1-${{ runner.os }}-
40
-
41
- - name : Install dependencies
42
- run : pnpm install
22
+ node-version : 23
23
+ cache : pnpm
24
+ - run : pnpm install
43
25
44
26
- name : Build
45
27
run : pnpm build
Original file line number Diff line number Diff line change @@ -23,33 +23,16 @@ jobs:
23
23
dir : ./packages/test-e2e-composable-vue3
24
24
25
25
steps :
26
- - uses : actions/checkout@v4
27
-
28
- - name : Install node
29
- uses : actions/setup-node@v4
30
- with :
31
- node-version : 22
32
-
33
- - name : Install pnpm
34
- uses : pnpm/action-setup@v4.0.0
35
-
36
- - name : Get pnpm store directory
37
- id : pnpm-cache
26
+ - name : Set alternate npm integrity keys
38
27
run : |
39
- echo "pnpm_cache_dir=$(pnpm store path )" >> "$GITHUB_OUTPUT"
40
-
41
- - name : Cache pnpm modules
42
- uses : actions/cache @v4
28
+ echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}' )" >> $GITHUB_ENV
29
+ - uses : actions/checkout@v4
30
+ - run : corepack enable
31
+ - uses : actions/setup-node @v4
43
32
with :
44
- path : |
45
- ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
46
- ~/.cache/Cypress
47
- key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
48
- restore-keys : |
49
- pnpm-v1-${{ runner.os }}-
50
-
51
- - name : Install dependencies
52
- run : pnpm install
33
+ node-version : 23
34
+ cache : pnpm
35
+ - run : pnpm install
53
36
54
37
- name : Build
55
38
run : pnpm run build
Original file line number Diff line number Diff line change @@ -23,33 +23,16 @@ jobs:
23
23
dir : ./packages/test-e2e
24
24
25
25
steps :
26
- - uses : actions/checkout@v4
27
-
28
- - name : Install node
29
- uses : actions/setup-node@v4
30
- with :
31
- node-version : 22
32
-
33
- - name : Install pnpm
34
- uses : pnpm/action-setup@v4.0.0
35
-
36
- - name : Get pnpm store directory
37
- id : pnpm-cache
26
+ - name : Set alternate npm integrity keys
38
27
run : |
39
- echo "pnpm_cache_dir=$(pnpm store path )" >> "$GITHUB_OUTPUT"
40
-
41
- - name : Cache pnpm modules
42
- uses : actions/cache @v4
28
+ echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}' )" >> $GITHUB_ENV
29
+ - uses : actions/checkout@v4
30
+ - run : corepack enable
31
+ - uses : actions/setup-node @v4
43
32
with :
44
- path : |
45
- ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
46
- ~/.cache/Cypress
47
- key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
48
- restore-keys : |
49
- pnpm-v1-${{ runner.os }}-
50
-
51
- - name : Install dependencies
52
- run : pnpm install
33
+ node-version : 23
34
+ cache : pnpm
35
+ - run : pnpm install
53
36
54
37
- name : Build
55
38
run : pnpm run build
Original file line number Diff line number Diff line change @@ -23,33 +23,16 @@ jobs:
23
23
dir : ./packages/test-e2e-ssr
24
24
25
25
steps :
26
- - uses : actions/checkout@v4
27
-
28
- - name : Install node
29
- uses : actions/setup-node@v4
30
- with :
31
- node-version : 22
32
-
33
- - name : Install pnpm
34
- uses : pnpm/action-setup@v4.0.0
35
-
36
- - name : Get pnpm store directory
37
- id : pnpm-cache
26
+ - name : Set alternate npm integrity keys
38
27
run : |
39
- echo "pnpm_cache_dir=$(pnpm store path )" >> "$GITHUB_OUTPUT"
40
-
41
- - name : Cache pnpm modules
42
- uses : actions/cache @v4
28
+ echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}' )" >> $GITHUB_ENV
29
+ - uses : actions/checkout@v4
30
+ - run : corepack enable
31
+ - uses : actions/setup-node @v4
43
32
with :
44
- path : |
45
- ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
46
- ~/.cache/Cypress
47
- key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
48
- restore-keys : |
49
- pnpm-v1-${{ runner.os }}-
50
-
51
- - name : Install dependencies
52
- run : pnpm install
33
+ node-version : 23
34
+ cache : pnpm
35
+ - run : pnpm install
53
36
54
37
- name : Build
55
38
run : pnpm run build
Original file line number Diff line number Diff line change @@ -20,33 +20,16 @@ jobs:
20
20
name : Build and test
21
21
22
22
steps :
23
- - uses : actions/checkout@v4
24
-
25
- - name : Install node
26
- uses : actions/setup-node@v4
27
- with :
28
- node-version : 22
29
-
30
- - name : Install pnpm
31
- uses : pnpm/action-setup@v4.0.0
32
-
33
- - name : Get pnpm store directory
34
- id : pnpm-cache
23
+ - name : Set alternate npm integrity keys
35
24
run : |
36
- echo "pnpm_cache_dir=$(pnpm store path )" >> "$GITHUB_OUTPUT"
37
-
38
- - name : Cache pnpm modules
39
- uses : actions/cache @v4
25
+ echo COREPACK_INTEGRITY_KEYS="$(curl https://registry.npmjs.org/-/npm/v1/keys | jq -c '{npm: .keys}' )" >> $GITHUB_ENV
26
+ - uses : actions/checkout@v4
27
+ - run : corepack enable
28
+ - uses : actions/setup-node @v4
40
29
with :
41
- path : |
42
- ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
43
- ~/.cache/Cypress
44
- key : pnpm-v1-${{ runner.os }}-${{ hashFiles('**/pnpm-lock.yaml') }}
45
- restore-keys : |
46
- pnpm-v1-${{ runner.os }}-
47
-
48
- - name : Install dependencies
49
- run : pnpm install
30
+ node-version : 23
31
+ cache : pnpm
32
+ - run : pnpm install
50
33
51
34
- name : Lint
52
35
run : pnpm run lint
You can’t perform that action at this time.
0 commit comments