Skip to content

template

template #12

Workflow file for this run

name: Check eslint
on:
push:
branches:
- '*'
pull_request:
types: [opened, synchronize, reopened]
merge_group:
branches:
- '*'
jobs:
eslint:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache-dependency-path: yarn.lock
- name: Install dependencies
run: yarn install --immutable
- name: Run eslint
run: yarn lint
- name: Test build
run: yarn build