Skip to content

Commit 9a1d591

Browse files
RID-4898 update release.yml node envirovnment & yarn steps
1 parent 8ee81ce commit 9a1d591

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

.github/workflows/release.yml

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Release Artifact
22

33
env:
4-
NODE_VERSION: 16.14
4+
NODE_VERSION: 18.0.0
55
RUNID_VERSION_SUFFIX: ${{ github.run_id }}.${{ github.run_attempt }}
66

77
on:
@@ -26,13 +26,16 @@ jobs:
2626
- name: Checkout
2727
uses: actions/checkout@v3
2828

29-
- name: Install yarn
30-
run: npm install --global yarn
29+
- name: Enable Corepack
30+
run: corepack enable
3131

32-
- name: Install dependencies
32+
- name: Prepare Yarn 3.4.1
33+
run: corepack prepare [email protected] --activate
34+
35+
- name: Install package dependencies
3336
run: |
3437
cd package
35-
yarn
38+
yarn install --frozen-lockfile
3639
3740
- name: Build
3841
run: |

0 commit comments

Comments
 (0)