File tree Expand file tree Collapse file tree 2 files changed +29
-10
lines changed Expand file tree Collapse file tree 2 files changed +29
-10
lines changed Original file line number Diff line number Diff line change @@ -18,13 +18,32 @@ jobs:
18
18
build-and-index :
19
19
runs-on : ubuntu-latest
20
20
steps :
21
- - name : Checkout
22
- uses : actions/checkout@v3
23
- - name : Yarn Install
24
- uses : bahmutov/npm-install@v1
25
- - name : Build
26
- run : |
27
- yarn build
21
+ - uses : actions/checkout@v3
22
+
23
+ - name : Setup Node v16 for Yarn v3
24
+ uses : actions/setup-node@v3
25
+ with :
26
+ node-version : ' 16.15.0' # Current LTS version
27
+
28
+ - name : Enable Corepack for Yarn v3
29
+ run : corepack enable
30
+
31
+ - name : Install Yarn v3
32
+ uses : borales/actions-yarn@v4
33
+ with :
34
+ cmd : set version stable
35
+
36
+ - name : Install dependencies
37
+ uses : borales/actions-yarn@v4
38
+ with :
39
+ cmd : install
40
+ env :
41
+ YARN_ENABLE_IMMUTABLE_INSTALLS : false
42
+
43
+ - name : Build site
44
+ uses : borales/actions-yarn@v4
45
+ with :
46
+ cmd : build
28
47
env :
29
48
PREFIX_PATHS : true # equivalent to --prefix-paths flag for 'gatsby build'
30
49
REPO_GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
Original file line number Diff line number Diff line change @@ -6108,9 +6108,9 @@ __metadata:
6108
6108
linkType: hard
6109
6109
6110
6110
"caniuse-lite@npm:^1.0.0, caniuse-lite@npm:^1.0.30001370, caniuse-lite@npm:^1.0.30001373":
6111
- version: 1.0.30001452
6112
- resolution: "caniuse-lite@npm:1.0.30001452 "
6113
- checksum: de02aad7b71112409f30de53e8080bef0fe612ed95bba8b14fb830f59683e8caabc27bdd520563686965be77f2cb56e239e44b920144630b91d7fe9911ba8ad5
6111
+ version: 1.0.30001457
6112
+ resolution: "caniuse-lite@npm:1.0.30001457 "
6113
+ checksum: f311a7c5098681962402a86a0a367014ee91c3135395ee68bbfaf45caf0e36d581e42d7c5b1526ce99484a228e6cf5cf0e400678292c65f5a21512a3fc7a5fb6
6114
6114
languageName: node
6115
6115
linkType: hard
6116
6116
You can’t perform that action at this time.
0 commit comments