From 8c6c2eb833dc4a886c45e78c676682ce2146d232 Mon Sep 17 00:00:00 2001 From: KIng Date: Sun, 18 Aug 2024 08:24:44 +0800 Subject: [PATCH] Update quic_repo_frontend_build_deploy.yml --- .../quic_repo_frontend_build_deploy.yml | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/.github/workflows/quic_repo_frontend_build_deploy.yml b/.github/workflows/quic_repo_frontend_build_deploy.yml index 93a92ee..9e61c6c 100644 --- a/.github/workflows/quic_repo_frontend_build_deploy.yml +++ b/.github/workflows/quic_repo_frontend_build_deploy.yml @@ -18,6 +18,13 @@ jobs: - name: Repository Checkout uses: actions/checkout@v4 + - name: Setup NodeJS + uses: actions/setup-node@v4 + with: + node-version: '20.x' + cache: 'npm' + cache-dependency-path: './Front-End/package-lock.json' + - name: Cache node_modules uses: actions/cache@v3 with: @@ -25,13 +32,9 @@ jobs: key: ${{ runner.os }}-node-${{ hashFiles('package-lock.json') }} restore-keys: | ${{ runner.os }}-node- - - - name: Setup NodeJS - uses: actions/setup-node@v4 - with: - node-version: '20.x' - cache: 'npm' - cache-dependency-path: './Front-End/package-lock.json' + enableCrossOsArchive: false + fail-on-cache-miss: false + lookup-only: false - name: Create env file run: |