Files
tiennm99 2df7fe3700 ci: move the workflow actions to their Node 24 majors
checkout, setup-node and upload-artifact v4 still run on Node 20, which
GitHub deprecates and forces onto Node 24 with a warning on every run.
v7 of each runs on Node 24; nothing between v4 and v7 changes the
inputs these workflows use.
2026-10-02 13:12:52 +07:00

32 lines
740 B
YAML

# The three gates a change has to pass, run on every push and pull request.
# Needs no secrets: every page that touches Redis, Postgres or Mapillary is
# rendered on demand, so compiling the app never opens a connection.
name: CI
on:
push:
branches: [main, dev]
pull_request:
permissions:
contents: read
# A newer push to the same branch supersedes the run still going.
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v7
- uses: actions/setup-node@v7
with:
node-version: 24
cache: npm
- run: npm ci
- run: npm run lint
- run: npm test
- run: npm run build:check