Skip to content

fix(deps): bump actions/checkout from 3 to 4 #86

fix(deps): bump actions/checkout from 3 to 4

fix(deps): bump actions/checkout from 3 to 4 #86

Workflow file for this run

name: Appear Schema frontend - Continuous Integration
on:
push:
branches: [main, develop]
pull_request:
branches: [main, develop]
jobs:
ci:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [ubuntu-latest]
node: [14]
steps:
- name: Checkout 💨
uses: actions/checkout@v4
- name: Setup node env 👷
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
check-latest: true
- name: Get yarn cache directory path 💃
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- name: Cache node_modules 📦
uses: actions/cache@v3
id: yarn-cache # use this to check for `cache-hit` (`steps.yarn-cache.outputs.cache-hit != 'true'`)
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies 👨🏻‍💻
run: yarn --cwd frontend install
- name: Run linter 👀
run: yarn --cwd frontend lint
# - name: Run tests 💯
# run: yarn --cwd frontend test