Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
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
30 changes: 30 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
name: CI

on:
push:
branches: [main]
pull_request:

permissions:
contents: read

jobs:
check:
name: Typecheck, test, and pack dry-run
runs-on: ubuntu-latest

steps:
- name: Checkout
uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5
Comment thread
eiei114 marked this conversation as resolved.
Outdated

- name: Setup Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
with:
node-version: 24
package-manager-cache: false

- name: Install dependencies
run: npm ci

- name: Run check
run: npm run check
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
"scripts": {
"typecheck": "tsc --noEmit",
"test": "node --import tsx --test \"test/**/*.test.ts\"",
"check": "npm run typecheck && npm test",
"check": "npm run typecheck && npm test && npm run release:npm:dry",
"release:npm:dry": "npm pack --dry-run",
"prepublishOnly": "npm run check"
},
Expand Down
Loading