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
8 changes: 7 additions & 1 deletion .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
name: setup

inputs:
node-version:
description: "Node.js version to use"
required: false
default: "22.10.x"

runs:
using: composite
steps:
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: "22.10.x"
node-version: ${{ inputs.node-version }}
cache: npm
registry-url: 'https://registry.npmjs.org/'

Expand Down
5 changes: 5 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,17 @@ jobs:
test:
runs-on: ubuntu-latest
if: ${{ github.event_name == 'workflow_dispatch' || !contains(github.event.head_commit.message, 'chore(release):') }}
strategy:
matrix:
node-version: [22.17, 24]
steps:
- name: Checkout the repository
uses: actions/checkout@v5

- name: Setup
uses: ./.github/actions/setup
with:
node-version: ${{ matrix.node-version }}

- name: Run linter
run: npm run eslint-check
Expand Down