Skip to content

Commit

Permalink
ci: run build first
Browse files Browse the repository at this point in the history
  • Loading branch information
steveoh committed Sep 11, 2024
1 parent 5bf9a0b commit 43f0a68
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -85,8 +85,11 @@ jobs:
node-version: lts/*
cache: npm

- name: πŸ“₯ Download dependencies
run: npm ci
- name: πŸ—οΈ Build
run: npm run build --workspace @ugrc/utilities

- name: πŸ—οΈ Build
run: npm run build

- name: πŸš€ Deploy
uses: agrc/firebase-website-deploy-composite-action@v1
Expand Down
7 changes: 5 additions & 2 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,11 @@ jobs:
node-version: lts/*
cache: npm

- name: πŸ“₯ Download dependencies
run: npm ci
- name: πŸ—οΈ Build
run: npm run build --workspace @ugrc/utilities

- name: πŸ—οΈ Build
run: npm run build

- name: πŸš€ Deploy
uses: agrc/firebase-website-deploy-composite-action@v1
Expand Down

0 comments on commit 43f0a68

Please sign in to comment.