diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index f6f6bfdd..46d4c847 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -28,10 +28,11 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: + cache: npm node-version-file: '.nvmrc' - name: Install dependencies - uses: bahmutov/npm-install@v1 + run: npm install - name: Build package run: npm run build diff --git a/.github/workflows/verifications.yml b/.github/workflows/verifications.yml index 0f49ec5a..0e8d23a4 100644 --- a/.github/workflows/verifications.yml +++ b/.github/workflows/verifications.yml @@ -19,10 +19,11 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: + cache: npm node-version-file: '.nvmrc' - name: Install dependencies - uses: bahmutov/npm-install@v1 + run: npm install - name: Run script run: npm run ${{ matrix.validation-script }} @@ -43,10 +44,11 @@ jobs: - name: Set up Node uses: actions/setup-node@v4 with: + cache: npm node-version: ${{ matrix.node }} - name: Install dependencies - uses: bahmutov/npm-install@v1 + run: npm install - name: Install ESLint v${{ matrix.eslint }} run: npm install --no-save --force eslint@${{ matrix.eslint }}