diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 169b4f95..31f309b3 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -9,15 +9,15 @@ on: pull_request: branches: [ "master" ] -defaults: - run: - working-directory: lang/js - jobs: build: runs-on: ubuntu-latest + defaults: + run: + working-directory: lang/js + strategy: matrix: node-version: [18.x, 20.x, 22.x] @@ -29,6 +29,7 @@ jobs: uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} +# cache: 'npm' - run: npm ci - run: npm run build --if-present - run: npm test