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
39 changes: 8 additions & 31 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ on:
branches: [main, next]

jobs:
test:
name: Test
ci:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
fail-fast: false
matrix:
Expand All @@ -21,40 +21,17 @@ jobs:
node-version: ${{ matrix.node-version }}
cache: 'npm'



- name: Check package.json deps
run: node scripts/check-no-file-deps.mjs
- name: Install dependencies
run: npm ci

- name: Build
run: npm run build

- name: Lint
run: npm run lint

- name: Test with coverage
run: npm test

typecheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '22'
cache: 'npm'



- name: Check package.json deps
run: node scripts/check-no-file-deps.mjs
- name: Install dependencies
run: npm ci

- name: Type check
run: npx tsc --noEmit

- name: Build
run: npm run build

- name: Test
run: npm test
1 change: 1 addition & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
release:
name: Release
runs-on: ubuntu-latest
timeout-minutes: 15
concurrency:
group: deploy-${{github.ref}}
cancel-in-progress: true
Expand Down
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,7 @@
"benchmark": "npm run build && node benchmark.js",
"lint": "eslint . --fix",
"build": "tsc",
"validate": "npm run check:package-json && npm run build && npm run lint && npm test",
"check:package-json": "node scripts/check-no-file-deps.mjs"
"validate": "npm run build && npm run lint && npm test"
},
"peerDependencies": {
"typescript": ">=5.0.0"
Expand Down
61 changes: 0 additions & 61 deletions scripts/check-no-file-deps.mjs

This file was deleted.

Loading