From ac7563c80432d1d9be34790d952e13133bbb7d1d Mon Sep 17 00:00:00 2001 From: Ella Bronson <111298136+ebronson68@users.noreply.github.com> Date: Fri, 7 Jul 2023 12:04:29 -0500 Subject: [PATCH] [DEVOPS-210] switch to next install/build composite actions (#44)
DEVOPS-210
Summary DevOps: Create composite actions for UI build and install steps
Type Story Story
Status In Progress
Points N/A
Labels ServiceDesk
--- ## Description - Switch to new `cache-next-build` and `cache-next-install` composite actions in `next-ci.yaml` workflow ## Related Issues - Jira Issue: DEVOPS-210 --- .github/workflows/next-ci.yaml | 24 ++++++++++++++++-------- 1 file changed, 16 insertions(+), 8 deletions(-) diff --git a/.github/workflows/next-ci.yaml b/.github/workflows/next-ci.yaml index f19723b2..4ae47143 100644 --- a/.github/workflows/next-ci.yaml +++ b/.github/workflows/next-ci.yaml @@ -24,7 +24,8 @@ jobs: token: ${{ secrets.PAT_ACTION_CI }} fetch-depth: 0 - - uses: ./.github/actions/use-install-cache + - name: Use cache-next-install action + uses: Andrews-McMeel-Universal/cache-next-install@v1 - name: Lint javascript run: yarn lint:js @@ -45,7 +46,8 @@ jobs: azurecredentials: ${{ secrets.AZURE_CREDENTIALS }} environment: ${{ inputs.environment }} - - uses: ./.github/actions/use-build-cache + - name: Use cache-next-build action + uses: Andrews-McMeel-Universal/cache-next-build@v1 # Required status check unit-tests: @@ -56,7 +58,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: ./.github/actions/use-install-cache + - name: Use cache-next-install action + uses: Andrews-McMeel-Universal/cache-next-install@v1 - name: Use .env cache action uses: Andrews-McMeel-Universal/get-envs@v1 @@ -64,7 +67,8 @@ jobs: azurecredentials: ${{ secrets.AZURE_CREDENTIALS }} environment: ${{ inputs.environment }} - - uses: ./.github/actions/use-build-cache + - name: Use cache-next-build action + uses: Andrews-McMeel-Universal/cache-next-build@v1 - name: Run Jest tests run: yarn test:unit:ci @@ -78,7 +82,8 @@ jobs: - name: Checkout uses: actions/checkout@v3 - - uses: ./.github/actions/use-install-cache + - name: Use cache-next-install action + uses: Andrews-McMeel-Universal/cache-next-install@v1 - name: Install Playwright Browsers run: yarn pretest:integration:ci @@ -89,7 +94,8 @@ jobs: azurecredentials: ${{ secrets.AZURE_CREDENTIALS }} environment: ${{ inputs.environment }} - - uses: ./.github/actions/use-build-cache + - name: Use cache-next-build action + uses: Andrews-McMeel-Universal/cache-next-build@v1 - name: Run Playwright tests run: yarn test:integration:ci @@ -117,9 +123,11 @@ jobs: azurecredentials: ${{ secrets.AZURE_CREDENTIALS }} environment: ${{ inputs.environment }} - - uses: ./.github/actions/use-install-cache + - name: Use cache-next-install action + uses: Andrews-McMeel-Universal/cache-next-install@v1 - - uses: ./.github/actions/use-build-cache + - name: Use cache-next-build action + uses: Andrews-McMeel-Universal/cache-next-build@v1 - name: Run Broken Link Checker id: link-checker-report