File tree Expand file tree Collapse file tree 3 files changed +6
-35
lines changed Expand file tree Collapse file tree 3 files changed +6
-35
lines changed Original file line number Diff line number Diff line change 37
37
with :
38
38
node-version : ${{ matrix.node }}
39
39
40
- - name : Enable Corepack
41
- id : pnpm-setup
42
- run : |
43
- corepack enable
44
- corepack prepare pnpm@latest --activate
40
+ - name : Install PNPM
41
+ uses : pnpm/action-setup@v4
45
42
46
43
- name : pnpm install
47
44
run : pnpm install --ignore-scripts
Original file line number Diff line number Diff line change 35
35
node-version : 20
36
36
registry-url : https://registry.npmjs.org/
37
37
38
- - name : Enable Corepack
39
- id : pnpm-setup
40
- run : |
41
- corepack enable
42
- corepack prepare pnpm@latest --activate
43
- pnpm config set script-shell "/usr/bin/bash"
44
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
45
-
46
- - name : pnpm Cache
47
- uses : actions/cache@v3
48
- with :
49
- path : ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
50
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
51
- restore-keys : |
52
- ${{ runner.os }}-pnpm-store-
38
+ - name : Install PNPM
39
+ uses : pnpm/action-setup@v4
53
40
54
41
- name : ESLint Cache
55
42
uses : actions/cache@v3
Original file line number Diff line number Diff line change 35
35
with :
36
36
node-version : ${{ matrix.node }}
37
37
38
- - name : Enable Corepack
39
- id : pnpm-setup
40
- run : |
41
- corepack enable
42
- corepack prepare pnpm@latest --activate
43
- pnpm config set script-shell "/usr/bin/bash"
44
- echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
45
-
46
- - name : pnpm Cache
47
- uses : actions/cache@v3
48
- with :
49
- path : ${{ steps.pnpm-setup.outputs.pnpm_cache_dir }}
50
- key : ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
51
- restore-keys : |
52
- ${{ runner.os }}-pnpm-store-
38
+ - name : Install PNPM
39
+ uses : pnpm/action-setup@v4
53
40
54
41
- name : ESLint Cache
55
42
uses : actions/cache@v3
You can’t perform that action at this time.
0 commit comments