Skip to content

ci: Create GitHub CI workflow #2

ci: Create GitHub CI workflow

ci: Create GitHub CI workflow #2

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'
- run: npm ci
- run: npm run lint