Browse Source

Update ci.yml

master
yuriy0803 2 years ago committed by GitHub
parent
commit
ddff38bfe6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      .github/workflows/ci.yml

10
.github/workflows/ci.yml

@ -17,19 +17,17 @@ jobs:
uses: actions/checkout@v2
- name: Setup Node.js 🏗
uses: actions/setup-node@v2
uses: actions/setup-node@v2.5.3
with:
node-version: 14
node-version: 16
- name: Get yarn cache directory path 🛠
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
run: echo "YARN_CACHE_DIR=$(yarn cache dir)" >> $GITHUB_ENV
- name: Cache node_modules 📦
uses: actions/cache@v2
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
path: ${{ env.YARN_CACHE_DIR }}
key: ubuntu-latest-yarn-${{ hashFiles('new-web/yarn.lock') }}
- name: Install dependencies 👨🏻💻

Loading…
Cancel
Save