File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -24,13 +24,14 @@ jobs:
2424 - uses : actions/setup-node@v1
2525 with :
2626 node-version : ' 18'
27+ - run : corepack enable
2728 - uses : actions/cache@v4
2829 id : yarn-cache
2930 name : Load npm deps from cache
3031 with :
3132 path : ' **/node_modules'
3233 key : ${{ runner.os }}-yarn-14-${{ hashFiles('yarn.lock') }}
33- - run : yarn install --frozen-lockfile
34+ - run : yarn install --immutable
3435 if : steps.yarn-cache.outputs.cache-hit != 'true'
3536 - run : yarn lint:js
3637 name : Lint JS
Original file line number Diff line number Diff line change @@ -13,12 +13,13 @@ jobs:
1313 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
1414 steps :
1515 - uses : actions/checkout@v2
16- - name : Build for promotion
17- run : yarn install --frozen-lockfile && yarn build
1816 - uses : actions/setup-node@v3
1917 with :
2018 node-version : ' 18.x'
2119 registry-url : ' https://registry.npmjs.org'
20+ - run : corepack enable
21+ - name : Build for promotion
22+ run : yarn install --immutable && yarn build
2223 - name : GitHub Tag Name example
2324 run : |
2425 echo "Tag name from GITHUB_REF_NAME: $GITHUB_REF_NAME"
You can’t perform that action at this time.
0 commit comments