Skip to content

eslint-backend-nodejs-ci #76

eslint-backend-nodejs-ci

eslint-backend-nodejs-ci #76

Workflow file for this run

name: eslint-backend-nodejs-ci
on:
push:
pull_request:
pull_request_review:
types:
- dismissed
jobs:
eslint-backend-lint-coverage:
runs-on: ubuntu-latest
strategy:
matrix:
node: [ '14', '16', '18', '20' ]
name: Node ${{ matrix.node }}
steps:
- uses: actions/checkout@v2
with:
submodules: recursive
- name: Use Node.js - ${{ matrix.node }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache # for cache-hit's
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 --frozen-lockfile --prefer-offline
- name: Run Linter
run: yarn lint