Skip to content
Merged
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
23 changes: 6 additions & 17 deletions .github/workflows/ci.yml → .github/workflows/checks.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: CI
name: Checks

on:
push:
Expand All @@ -7,12 +7,12 @@ on:
branches: [main, master]

jobs:
test:
checks:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [18.x, 20.x]
node-version: [20.x]

steps:
- name: Checkout code
Expand All @@ -27,20 +27,9 @@ jobs:
- name: Install dependencies
run: npm ci

- name: Check formatting
run: npm run format:check

- name: Run type check
run: npm run type-check

- name: Run linter
run: npm run lint

- name: Run tests
run: npm run test:ci

- name: Build project
run: npm run build
- name: Run checks
shell: bash
run: ./scripts/checks.sh

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
26 changes: 26 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Pull Request

on:
pull_request:
branches: [main, master]

jobs:
pr-checks:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run checks
shell: bash
run: ./scripts/checks.sh
1 change: 0 additions & 1 deletion avocado-config.json

This file was deleted.

11 changes: 0 additions & 11 deletions copy-to-tmp.sh

This file was deleted.

Loading