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