Skip to content

Commit

Permalink
remove redundant steps
Browse files Browse the repository at this point in the history
  • Loading branch information
cjflory committed Feb 19, 2024
1 parent 81293c1 commit 4038e53
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-merge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: cd hosting && npm ci && node_modules/.bin/nx build
# `nx test` and `nx build` are ran via Firebase, as a pre-deploy step
- run: cd hosting && npm ci
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/firebase-hosting-pull-request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ jobs:
pull-requests: write
steps:
- uses: actions/checkout@v4
- run: cd hosting && npm ci && node_modules/.bin/nx lint && node_modules/.bin/nx test && node_modules/.bin/nx build
# `nx test` and `nx build` are ran via Firebase, as a pre-deploy step
- run: cd hosting && npm ci && node_modules/.bin/nx lint
- uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: "${{ secrets.GITHUB_TOKEN }}"
Expand Down

0 comments on commit 4038e53

Please sign in to comment.