enable actions/setup-node's global cache
This commit is contained in:
parent
fba88e110a
commit
b53a67b8cd
|
@ -23,8 +23,7 @@ jobs:
|
||||||
- uses: actions/setup-node@v3.2.0
|
- uses: actions/setup-node@v3.2.0
|
||||||
with:
|
with:
|
||||||
node-version: 18.x
|
node-version: 18.x
|
||||||
|
cache: 'yarn'
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
env:
|
|
||||||
YARN_CHECKSUM_BEHAVIOR: update
|
|
||||||
- run: yarn workspace ${{ matrix.workspace }} run lint
|
- run: yarn workspace ${{ matrix.workspace }} run lint
|
||||||
|
|
|
@ -34,9 +34,10 @@ jobs:
|
||||||
with:
|
with:
|
||||||
submodules: true
|
submodules: true
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3.2.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'yarn'
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
- name: Check yarn.lock
|
- name: Check yarn.lock
|
||||||
|
@ -81,9 +82,10 @@ jobs:
|
||||||
#- uses: browser-actions/setup-firefox@latest
|
#- uses: browser-actions/setup-firefox@latest
|
||||||
# if: ${{ matrix.browser == 'firefox' }}
|
# if: ${{ matrix.browser == 'firefox' }}
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v3
|
uses: actions/setup-node@v3.2.0
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
|
cache: 'yarn'
|
||||||
- run: corepack enable
|
- run: corepack enable
|
||||||
- run: yarn install --immutable
|
- run: yarn install --immutable
|
||||||
env:
|
env:
|
||||||
|
|
Loading…
Reference in New Issue