Bump the npm_and_yarn group across 1 directory with 9 updates #89
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: 🏗 Setup Node | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16.13.0' | |
- name: 📂 Get yarn cache directory | |
id: yarn-cache-dir | |
run: echo "yarn_cache_dir=$(yarn cache dir)" >> "$GITHUB_ENV" | |
- name: 📥 Cache node modules | |
uses: actions/cache@v1 | |
env: | |
cache-name: cache-node-modules | |
with: | |
path: ${{ env.yarn_cache_dir }} | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/yarn.lock') }} | |
restore-keys: | | |
${{ runner.os }}-build-${{ env.cache-name }}- | |
${{ runner.os }}-build- | |
${{ runner.os }}- | |
- name: 📦 Install dependencies | |
run: yarn | |
- name: ✨ Run tests | |
run: yarn test |