Skip to content

feat(workflow): Add GitHub Actions workflow for pull requests #1

feat(workflow): Add GitHub Actions workflow for pull requests

feat(workflow): Add GitHub Actions workflow for pull requests #1

Workflow file for this run

name: Pull Request Checks
on:
pull_request:
types: [opened,synchronize]
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm run lint
test:
needs: lint
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm ci
- run: npm test
env:
NODE_ENV: production