Skip to content

Commit

Permalink
feat: chache web deps in build
Browse files Browse the repository at this point in the history
  • Loading branch information
sprutton1 committed Sep 4, 2024
1 parent a5a81aa commit b3d1060
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/deploy-stack.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,15 @@ jobs:
environment: ${{ inputs.environment }}
service: ${{ matrix.service }}
version: ${{ inputs.version }}
needs:
- invoke-and-check-cdn
secrets: inherit

set-maintenance-mode:
needs:
- invoke-and-check-cdn
- set-service-versions
uses: ./.github/workflows/set-maintenance-mode.yml
with:
environment: ${{ inputs.environment }}
needs:
- invoke-and-check-cdn
secrets: inherit

upgrade-web:
Expand Down Expand Up @@ -97,7 +96,6 @@ jobs:
needs:
- upgrade-web
- upgrade-and-migrate-sdf
if: always()
uses: ./.github/workflows/e2e-validation.yml
with:
environment: ${{ inputs.environment }}
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/upgrade-web.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,12 +26,14 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: '18.18.2'
cache: 'npm'
cache-dependency-path: pnpm-lock.yaml

- uses: pnpm/action-setup@v4

- name: Install dependencies
working-directory: app/web
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Build
working-directory: app/web
Expand Down

0 comments on commit b3d1060

Please sign in to comment.