Update action.yml

pull/7267/head
zomars 2023-02-20 14:56:51 -07:00
parent 9d74f9ed7b
commit 1027f058fd
1 changed files with 3 additions and 0 deletions

View File

@ -8,9 +8,11 @@ runs:
using: "composite"
steps:
- uses: actions/setup-node@v3
shell: bash
with:
node-version: ${{ inputs.node_version }}
- name: node_modules cache
shell: bash
id: node-modules-cache
uses: actions/cache@v3
env:
@ -21,5 +23,6 @@ runs:
key: ${{ runner.os }}-${{ env.cache-name }}-${{ env.cache-key }}
restore-keys: ${{ runner.os }}-${{ env.cache-name }}-
- name: Yarn install
shell: bash
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: yarn install --prefer-offline --frozen-lockfile