Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 15 additions & 16 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
name: CI
name: Lint & Test

on:
push:
branches: [main]
pull_request:
branches: [main]
workflow_dispatch:

jobs:
test:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

# Use Node 20 (required for @typescript-eslint v8 / structuredClone)
- name: Use Node.js 20
uses: actions/setup-node@v4
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
cache: 'npm'

- name: Install deps (clean)
run: npm ci

node-version: "16"
- name: Setup
run: |
npm install
npm run build
- name: Run eslint
run: npm run lint

run: |
npm run lint
- name: Run tests
run: npm test
run: |
npm run test
Loading