Skip to content

fix: help with eslint upgrade (#2272) #5

fix: help with eslint upgrade (#2272)

fix: help with eslint upgrade (#2272) #5

Workflow file for this run

name: "Lint and Build"
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ${{ github.workflow }}-${{ (github.event.pull_request && github.event.pull_request.number) || github.ref || github.run_id }}
cancel-in-progress: true
permissions:
contents: read
jobs:
lint-build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@9bb56186c3b09b4f86b1c65136769dd318469633 # v4.1.2
- uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4.0.2
with:
cache: yarn
node-version: '20'
- run: yarn install --frozen-lockfile
- name: Run depcheck
run: yarn run depcheck
- run: yarn lint
- run: yarn build