Skip to content

Merge pull request #1 from fkleon/feature-github-ci #4

Merge pull request #1 from fkleon/feature-github-ci

Merge pull request #1 from fkleon/feature-github-ci #4

Workflow file for this run

name: Run code checks and tests
on:
push:
branches:
- main
pull_request:
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npm run lint
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "20.x"
cache: "npm"
- run: npm ci
- run: npm test