diff --git a/.github/workflows/admin-heroku-manual.yml b/.github/workflows/admin-heroku-manual.yml index ac05df5..a7da3b0 100644 --- a/.github/workflows/admin-heroku-manual.yml +++ b/.github/workflows/admin-heroku-manual.yml @@ -11,20 +11,12 @@ jobs: working-directory: ./admin steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Extract branch name shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" id: extract_branch - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 16.x - - name: Install, build, and test - run: | - npm ci - npm run build - env: - CI: true - uses: akhileshns/heroku-deploy@v3.12.12 with: appdir: 'admin' diff --git a/.github/workflows/admin-heroku.yml b/.github/workflows/admin-heroku.yml index 5a476a8..48fba1c 100644 --- a/.github/workflows/admin-heroku.yml +++ b/.github/workflows/admin-heroku.yml @@ -12,20 +12,12 @@ jobs: working-directory: ./admin steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Extract branch name shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" id: extract_branch - - name: Use Node.js - uses: actions/setup-node@v3 - with: - node-version: 16.x - - name: Install, build, and test - run: | - npm ci - npm run build - env: - CI: true - uses: akhileshns/heroku-deploy@v3.12.12 with: appdir: 'admin' diff --git a/.github/workflows/core-heroku-manual.yml b/.github/workflows/core-heroku-manual.yml index e02f197..55e230b 100644 --- a/.github/workflows/core-heroku-manual.yml +++ b/.github/workflows/core-heroku-manual.yml @@ -12,6 +12,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Extract branch name shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})" diff --git a/.github/workflows/core-heroku.yml b/.github/workflows/core-heroku.yml index 902e2f4..e57797b 100644 --- a/.github/workflows/core-heroku.yml +++ b/.github/workflows/core-heroku.yml @@ -13,6 +13,8 @@ jobs: steps: - uses: actions/checkout@v3 + with: + fetch-depth: 0 - name: Extract branch name shell: bash run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF##*/})"