Skip to content

DX-584 Fixing Dev

DX-584 Fixing Dev #41

Workflow file for this run

name: Tests
on:
push:
branches:
- dev
pull_request:
workflow_dispatch:
jobs:
linting:
name: Linting
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
node-version: [16]
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Setup Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v3
id: yarn-cache
with:
path: |
${{ steps.yarn-cache-dir-path.outputs.dir }}
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: ESLint
run: yarn lint