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
14 changes: 7 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:

strategy:
matrix:
node-version: [18, 20]
node-version: [22, 24]

steps:
- uses: actions/checkout@v4
Expand All @@ -22,19 +22,19 @@ jobs:
node-version: ${{ matrix.node-version }}

- name: Cache dependencies
uses: actions/cache@v3
uses: actions/cache@v4
with:
path: node_modules
key: node${{ matrix.node-version }}-${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}
key: node${{ matrix.node-version }}-${{ runner.os }}-${{ hashFiles('**/package-lock.json') }}

- name: Install dependencies
run: yarn --frozen-lockfile
run: npm ci

- name: Build TypeScript
run: yarn build
run: npm run build

- name: Lint files
run: yarn lint
run: npm run lint

- name: Run tests
run: yarn test
run: npm test
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
npx lint-staged
Loading