diff --git a/.github/workflows/_backstop-docker-ci.yml b/.github/workflows/_backstop-docker-ci.yml index 2c89b1587..e47806846 100644 --- a/.github/workflows/_backstop-docker-ci.yml +++ b/.github/workflows/_backstop-docker-ci.yml @@ -47,3 +47,7 @@ jobs: # needs: build-publish-docker # name: Smoke Test Docker # uses: ./.github/workflows/docker-smoke-test.yml + + # build-compare: + # name: Build Compare UI + # uses: ./.github/workflows/build-compare.yml diff --git a/.github/workflows/backstop-integration-test.yml b/.github/workflows/backstop-integration-test.yml index dc780ab6b..52acab789 100644 --- a/.github/workflows/backstop-integration-test.yml +++ b/.github/workflows/backstop-integration-test.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: ⬢ Setup Node & Cache diff --git a/.github/workflows/backstop-sanity-test.yml b/.github/workflows/backstop-sanity-test.yml index f6877aa8e..230ee4ed6 100644 --- a/.github/workflows/backstop-sanity-test.yml +++ b/.github/workflows/backstop-sanity-test.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: ⬢ Setup Node & Cache @@ -43,7 +43,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: ⬢ Setup Node & Cache diff --git a/.github/workflows/backstop-smoke-test.yml b/.github/workflows/backstop-smoke-test.yml index f71e1c42c..9ff314391 100644 --- a/.github/workflows/backstop-smoke-test.yml +++ b/.github/workflows/backstop-smoke-test.yml @@ -20,7 +20,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: ⬢ Setup Node & Cache @@ -44,7 +44,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: ⬢ Setup Node & Cache diff --git a/.github/workflows/build-compare.yml b/.github/workflows/build-compare.yml new file mode 100644 index 000000000..bbd91f593 --- /dev/null +++ b/.github/workflows/build-compare.yml @@ -0,0 +1,36 @@ +name: Build Compare Test + +on: + workflow_dispatch: + workflow_call: + +permissions: + contents: write + pull-requests: write + +env: + NODE_VERSION: 20 + +jobs: + build-compare: + name: 🚜 Build Compare + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + fetch-depth: 1 + ref: ${{ github.event.pull_request.head.sha || github.ref }} + + - name: ⬢ Setup Node & Cache + uses: actions/setup-node@v4 + with: + cache: "npm" + cache-dependency-path: package-lock.json + + - name: ↧ Install + run: npm ci + + - name: "Run `npm run build-compare`" + run: | + npm run build-compare diff --git a/.github/workflows/docker-build.yml b/.github/workflows/docker-build.yml index 7c539b7b3..5015b4541 100644 --- a/.github/workflows/docker-build.yml +++ b/.github/workflows/docker-build.yml @@ -26,7 +26,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set Name and Tag Vars diff --git a/.github/workflows/docker-sanity-test.yml b/.github/workflows/docker-sanity-test.yml index bff8160b7..9e58a804d 100644 --- a/.github/workflows/docker-sanity-test.yml +++ b/.github/workflows/docker-sanity-test.yml @@ -30,7 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set Name and Tag Vars @@ -78,7 +78,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set Name and Tag Vars diff --git a/.github/workflows/docker-smoke-test.yml b/.github/workflows/docker-smoke-test.yml index 46cf131da..e2b51a759 100644 --- a/.github/workflows/docker-smoke-test.yml +++ b/.github/workflows/docker-smoke-test.yml @@ -30,7 +30,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set Name and Tag Vars @@ -78,7 +78,7 @@ jobs: - name: Checkout uses: actions/checkout@v4 with: - fetch-depth: 0 + fetch-depth: 1 ref: ${{ github.event.pull_request.head.sha || github.ref }} - name: Set Name and Tag Vars