Skip to content

Update eslint monorepo to v10 #236

Update eslint monorepo to v10

Update eslint monorepo to v10 #236

Workflow file for this run

name: Test and lint
concurrency:
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
cancel-in-progress: true
on:
push:
branches: [main]
pull_request:
branches: ["**"]
jobs:
check:
name: Test and lint
runs-on: ubuntu-latest
timeout-minutes: 30
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6
- name: Node setup
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6
with:
cache-dependency-path: package.json
node-version: "22.x"
cache: "npm"
- run: |
npm ci
npm run build
npx pkg-pr-new publish || "echo 'Failed to publish package - is pkg-pr-new set up?'"
npm run test
npm run typecheck
npm run lint