diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f58e1ac..32c725d 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -16,7 +16,6 @@ jobs: env: CI: true - LINT: ${{ matrix.node-version == '22.x' && true || false }} steps: - uses: actions/checkout@v4 @@ -28,5 +27,23 @@ jobs: - run: yarn install - run: yarn build - run: yarn test + + lint: + runs-on: ubuntu-latest + + strategy: + matrix: + node-version: [22.x] + + env: + CI: true + + steps: + - uses: actions/checkout@v4 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + - run: corepack enable + - run: yarn install - run: yarn lint - if: ${{ env.LINT == 'true' }}