Update action.yml
parent
9d74f9ed7b
commit
1027f058fd
|
@ -8,9 +8,11 @@ runs:
|
||||||
using: "composite"
|
using: "composite"
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/setup-node@v3
|
- uses: actions/setup-node@v3
|
||||||
|
shell: bash
|
||||||
with:
|
with:
|
||||||
node-version: ${{ inputs.node_version }}
|
node-version: ${{ inputs.node_version }}
|
||||||
- name: node_modules cache
|
- name: node_modules cache
|
||||||
|
shell: bash
|
||||||
id: node-modules-cache
|
id: node-modules-cache
|
||||||
uses: actions/cache@v3
|
uses: actions/cache@v3
|
||||||
env:
|
env:
|
||||||
|
@ -21,5 +23,6 @@ runs:
|
||||||
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-key }}
|
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-key }}
|
||||||
restore-keys: ${{ runner.os }}-${{ env.cache-name }}-
|
restore-keys: ${{ runner.os }}-${{ env.cache-name }}-
|
||||||
- name: Yarn install
|
- name: Yarn install
|
||||||
|
shell: bash
|
||||||
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
if: steps.node-modules-cache.outputs.cache-hit != 'true'
|
||||||
run: yarn install --prefer-offline --frozen-lockfile
|
run: yarn install --prefer-offline --frozen-lockfile
|
||||||
|
|
Loading…
Reference in New Issue