From a5b0a0dc2ac975902710bb466568bd598da2eb7e Mon Sep 17 00:00:00 2001 From: Jemish Gopani Date: Sun, 14 Jul 2024 13:08:07 +0530 Subject: [PATCH] Update cache for npm in workflow --- .github/workflows/build_check.yml | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/.github/workflows/build_check.yml b/.github/workflows/build_check.yml index 68063de..2ddd274 100644 --- a/.github/workflows/build_check.yml +++ b/.github/workflows/build_check.yml @@ -8,20 +8,14 @@ on: jobs: build: - runs-on: ubuntu-latest - strategy: - matrix: - node-version: [14.x, 16.x, 18.x] - steps: - uses: actions/checkout@v4 - - name: Use Node.js ${{ matrix.node-version }} + - name: Use Node.js 18.x uses: actions/setup-node@v3 with: - node-version: ${{ matrix.node-version }} - cache: 'npm' + node-version: 18.x - run: yarn --frozen-lockfile - run: yarn lint - run: yarn test