diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index cd76c91..ebd34b6 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -5,13 +5,16 @@ name: Test on: [push] jobs: + strategy: + matrix: + version: [ 18, 20, 22 ] run-eslint-and-prettier: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - uses: actions/setup-node@v4 with: - node-version: 20 + node-version: ${{ matrix.version }} registry-url: https://registry.npmjs.org/ - run: npm install - run: npm run build