Skip to content
Open
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
4 changes: 2 additions & 2 deletions .github/workflows/auto-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,10 +23,10 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install --include=dev
run: npm ci

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

- name: Test
run: npm test
Expand Down
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,21 +7,31 @@ on:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
# Cover the engines.node range declared in package.json (>=18):
# the supported minimum, current LTS, and latest LTS.
node-version: ['18', '20', '22']
name: ci (Node ${{ matrix.node-version }})
steps:
- uses: actions/checkout@v4

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: '20'
node-version: ${{ matrix.node-version }}
cache: 'npm'

- name: Install dependencies
run: npm install --include=dev
run: npm ci

- name: Lint
run: npm run lint

- name: Type check
run: npm run typecheck

- name: Test
run: npm test

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
cache: 'npm'

- name: Install dependencies
run: npm install --include=dev
run: npm ci

- name: Set version from tag
run: |
Expand Down
Loading