2023-01-09 21:24:06 +01:00
|
|
|
name: Lint & Test
|
|
|
|
|
|
|
|
on:
|
|
|
|
push:
|
|
|
|
pull_request:
|
|
|
|
types: [reopened]
|
|
|
|
|
|
|
|
concurrency:
|
|
|
|
group: ${{ github.workflow }}-${{ github.ref }}
|
|
|
|
cancel-in-progress: true
|
|
|
|
|
|
|
|
jobs:
|
2023-01-09 22:10:09 +01:00
|
|
|
# test:
|
|
|
|
# name: Test
|
|
|
|
# runs-on: ubuntu-latest
|
|
|
|
# steps:
|
|
|
|
# - uses: actions/checkout@v3
|
|
|
|
# - uses: actions/setup-node@v3
|
|
|
|
# with:
|
|
|
|
# node-version-file: .nvmrc
|
|
|
|
# cache: yarn
|
|
|
|
# - name: Install dependencies
|
|
|
|
# run: yarn install --immutable
|
|
|
|
# - name: Test
|
|
|
|
# run: yarn test
|
2023-01-09 21:24:06 +01:00
|
|
|
|
|
|
|
lint:
|
|
|
|
name: Lint
|
|
|
|
runs-on: ubuntu-latest
|
|
|
|
steps:
|
|
|
|
- uses: actions/checkout@v3
|
|
|
|
- uses: actions/setup-node@v3
|
|
|
|
with:
|
|
|
|
node-version-file: .nvmrc
|
|
|
|
cache: yarn
|
|
|
|
- name: Install dependencies
|
|
|
|
run: yarn install --immutable
|
|
|
|
- name: Lint
|
|
|
|
run: yarn lint:ci
|