diff --git a/.github/workflows/format-and-lint.yml b/.github/workflows/format-and-lint.yml index 68f197b..e89e505 100644 --- a/.github/workflows/format-and-lint.yml +++ b/.github/workflows/format-and-lint.yml @@ -10,16 +10,14 @@ jobs: lint: if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.repository != github.event.pull_request.head.repo.full_name) runs-on: ubuntu-latest - strategy: - matrix: - node-version: [23] steps: - name: Check out branch (pull request) uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js uses: actions/setup-node@v4 with: - node-version: ${{ matrix.node-version }} + node-version-file: .nvmrc + cache: "npm" - name: Install packages run: npm ci - name: Check Formatting with Prettier