Skip to content

Commit

Permalink
Merge branch 'main' into app/feat/setup-testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cswni committed Feb 7, 2025
2 parents c86918b + c6701c4 commit 10f5889
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 8 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ jobs:

- name: Test
run: npm run test

- name: Generate coverage report
run: npm run test:coverage

- name: Coverage
run: npm run test:coverage
Expand All @@ -38,3 +41,4 @@ jobs:
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: WatchItDev/watchit-app
8 changes: 4 additions & 4 deletions .github/workflows/next.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,11 @@ on:
branches:
- next
jobs:
# Continuous-Integration:
# uses: ./.github/workflows/ci.yml
# secrets: inherit
Continuous-Integration:
uses: ./.github/workflows/ci.yml
secrets: inherit
Create-Release:
# needs: [Continuous-Integration]
needs: [Continuous-Integration]
uses: ./.github/workflows/release.yml
permissions:
contents: write # to be able to publish a GitHub release
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/stable.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
name: Release CI/CD
name: Main CI/CD
# https://docs.github.com/en/actions/managing-workflow-runs/skipping-workflow-runs
on:
push:
branches:
- main
jobs:
# Continuous-Integration:
# uses: ./.github/workflows/ci.yml
# secrets: inherit
Continuous-Integration:
uses: ./.github/workflows/ci.yml
secrets: inherit
Deploy-App:
needs: [Continuous-Integration]
uses: ./.github/workflows/cd.yml
secrets: inherit
with:
Expand Down

0 comments on commit 10f5889

Please sign in to comment.