This commit is contained in:
parent
c4887b206a
commit
4145aede62
@ -18,6 +18,14 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
patterns: |-
|
patterns: |-
|
||||||
**/yarn.lock
|
**/yarn.lock
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- name: Set Node.js 22.x
|
||||||
|
uses: actions/setup-node@v4
|
||||||
|
with:
|
||||||
|
node-version: 22.x
|
||||||
|
cache-dependency-path: 'yarn.lock'
|
||||||
|
- name: Install Yarn
|
||||||
|
run: npm install -g yarn
|
||||||
- name: Get yarn cache directory path
|
- name: Get yarn cache directory path
|
||||||
id: yarn-cache-dir-path
|
id: yarn-cache-dir-path
|
||||||
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
|
||||||
@ -29,15 +37,6 @@ jobs:
|
|||||||
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.matched-files }}
|
key: ${{ runner.os }}-yarn-${{ steps.get-hash.outputs.matched-files }}
|
||||||
restore-keys: |
|
restore-keys: |
|
||||||
${{ runner.os }}-yarn-
|
${{ runner.os }}-yarn-
|
||||||
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Set Node.js 22.x
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 22.x
|
|
||||||
cache-dependency-path: 'yarn.lock'
|
|
||||||
- name: Install Yarn
|
|
||||||
run: npm install -g yarn
|
|
||||||
- run: yarn
|
- run: yarn
|
||||||
- run: EXPORT=1 UNOPTIMIZED=1 yarn build
|
- run: EXPORT=1 UNOPTIMIZED=1 yarn build
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user