diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 1ecc97c4..8784b054 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -8,18 +8,18 @@ jobs: fail-fast: false matrix: node: - - 18 - - 20 + - 'package.json' + - 20.x - name: Unit tests w/ Node.js ${{matrix.node}}.x + name: Unit tests w/ Node.js ${{matrix.node}} runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install Node ${{matrix.node}}.x + - name: Install Node ${{matrix.node}} uses: actions/setup-node@v4 with: - node-version: ${{matrix.node}}.x + node-version: ${{matrix.node}} - run: yarn install - run: yarn build:all - run: yarn test @@ -33,7 +33,7 @@ jobs: - name: Install node uses: actions/setup-node@v4 with: - node-version: '18.x' + node-version: 'package.json' - run: yarn install - run: yarn build:all - run: yarn typecheck:all