Skip to content

ci: Create GitHub CI workflow #3

ci: Create GitHub CI workflow

ci: Create GitHub CI workflow #3

Workflow file for this run

name: Lint
on:
push:
branches: ['main']
pull_request:
branches: ['main']
jobs:
lint:
runs-on: ubuntu-latest
env:
NODE_VERSION: 20.x
steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v4
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
# --force is required for now, as NextJS references a React version that is not yet published.
- run: npm ci --force
- run: npm run lint