Skip to content

Merge pull request #767 from oddbird/dependabot/npm_and_yarn/npm-mino… #1737

Merge pull request #767 from oddbird/dependabot/npm_and_yarn/npm-mino…

Merge pull request #767 from oddbird/dependabot/npm_and_yarn/npm-mino… #1737

Workflow file for this run

name: Lint & Test
on:
push:
pull_request:
types: [reopened]
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install dependencies
run: yarn install --immutable
test:
name: Test
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Test
run: |
yarn install --immutable
yarn test --ci --runInBand
lint:
name: Lint
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Lint
run: |
yarn install --immutable
yarn lint