File tree Expand file tree Collapse file tree 1 file changed +6
-16
lines changed
Expand file tree Collapse file tree 1 file changed +6
-16
lines changed Original file line number Diff line number Diff line change @@ -5,28 +5,18 @@ on: [push, pull_request]
55jobs :
66 build :
77 runs-on : ubuntu-latest
8-
98 steps :
10- - uses : actions/checkout@v3
11-
12- - uses : actions/setup-node@v3
9+ - uses : actions/setup-node@v1
1310 with :
1411 node-version : ' 18.x'
15-
16- - name : Enable Corepack and set Yarn version
12+ - name : Setup Yarn (v2 or later using Corepack)
1713 run : |
1814 corepack enable
1915 corepack prepare yarn@4.4.1 --activate
16+ - uses : actions/checkout@v2
17+ - name : Install npm dependencies
18+ run : |
19+ yarn
2020
21- - name : Mark workspace as safe for Git
22- run : git config --global --add safe.directory "$GITHUB_WORKSPACE"
2321
24- - name : Install dependencies (with clean cache)
25- run : |
26- yarn cache clean
27- yarn install --immutable
2822
29- - name : Debug Yarn pack.log if install fails
30- if : failure()
31- run : |
32- find /tmp -name "pack.log" -exec echo "Found pack.log at:" {} \; -exec cat {} \;
You can’t perform that action at this time.
0 commit comments