From 9deb45a95431a07f3c6206bf5b53ab576b3b5155 Mon Sep 17 00:00:00 2001 From: Patrick Wei <44277752+pwei1018@users.noreply.github.com> Date: Wed, 28 Aug 2024 23:31:49 -0700 Subject: [PATCH] Update frontend-ci.yaml --- .github/workflows/frontend-ci.yaml | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/.github/workflows/frontend-ci.yaml b/.github/workflows/frontend-ci.yaml index efe8cd6f..d74d0ce0 100644 --- a/.github/workflows/frontend-ci.yaml +++ b/.github/workflows/frontend-ci.yaml @@ -207,12 +207,18 @@ jobs: node-version: ${{ matrix.node-version }} cache: npm cache-dependency-path: ${{ inputs.working_directory }}/package-lock.json + - name: Debug hashFiles + run: | + pwd + ls -l + echo "example FILES: |${{ hashFiles('.env.example') }}|" + echo "sample FILES: |${{ hashFiles('.env.sample') }}|" - name: Copy .env.example - if: ${{ hashFiles('${{ inputs.working_directory }}/.env.example') != '' }} + if: ${{ hashFiles('.env.example') != '' }} run: | cp ${{ inputs.working_directory }}/.env.sample ${{ inputs.working_directory }}/.env - name: Copy .env.sample - if: ${{ hashFiles('${{ inputs.working_directory }}/.env.sample') != '' }} + if: ${{ hashFiles('.env.sample') != '' }} run: | cp ${{ inputs.working_directory }}/.env.sample ${{ inputs.working_directory }}/.env - name: Install dependencies