Skip to content

Commit

Permalink
ci: remove submodules reference
Browse files Browse the repository at this point in the history
  • Loading branch information
scopsy committed May 16, 2023
1 parent 2a5d465 commit 0154eea
Showing 1 changed file with 0 additions and 18 deletions.
18 changes: 0 additions & 18 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,6 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
submodules: true
token: ${{ secrets.SUBMODULES_TOKEN }}
- uses: ./.github/actions/setup-project
with:
slim: 'true'
Expand Down Expand Up @@ -92,16 +90,12 @@ jobs:
needs: [ get-affected ]
if: ${{ contains(fromJson(needs.get-affected.outputs.test-cypress), '@novu/web') }}
uses: ./.github/workflows/reusable-web-e2e.yml
with:
submodules: true
secrets: inherit

test_widget:
name: Test Widget Cypress
needs: [ get-affected ]
uses: ./.github/workflows/reusable-widget-e2e.yml
with:
submodules: true
if: ${{ contains(fromJson(needs.get-affected.outputs.test-cypress), '@novu/widget') || contains(fromJson(needs.get-affected.outputs.test-unit), '@novu/notification-center') }}
secrets: inherit

Expand All @@ -121,9 +115,6 @@ jobs:
name: [ 'novu/api', 'novu/api-ee' ]
steps:
- uses: actions/checkout@v3
with:
submodules: ${{ contains (matrix.name,'ee') }}
token: ${{ secrets.SUBMODULES_TOKEN }}
- uses: ./.github/actions/setup-project
- uses: ./.github/actions/setup-redis-cluster
- uses: ./.github/actions/docker/build-api
Expand Down Expand Up @@ -164,9 +155,6 @@ jobs:
steps:
- run: echo '${{ needs.get-affected.outputs.test-packages }}'
- uses: actions/checkout@v3
with:
submodules: ${{ contains(matrix.projectName, '@novu/application-generic') }}
token: ${{ secrets.SUBMODULES_TOKEN }}
- uses: ./.github/actions/setup-project
- uses: mansagroup/nrwl-nx-action@v3
if: ${{matrix.projectName == '@novu/application-generic' }}
Expand Down Expand Up @@ -207,9 +195,6 @@ jobs:
steps:
- run: echo ${{ matrix.projectName }}
- uses: actions/checkout@v3
with:
submodules: ${{ contains(matrix.projectName, '@novu/api') || contains(matrix.projectName, '@novu/worker') }}
token: ${{ secrets.SUBMODULES_TOKEN }}
- uses: ./.github/actions/setup-project
- uses: ./.github/actions/setup-redis-cluster
- uses: mansagroup/nrwl-nx-action@v3
Expand Down Expand Up @@ -247,9 +232,6 @@ jobs:
steps:
- run: echo ${{ matrix.projectName }}
- uses: actions/checkout@v3
with:
submodules: ${{ contains(matrix.projectName, '@novu/api') || contains(matrix.projectName, '@novu/worker') }}
token: ${{ secrets.SUBMODULES_TOKEN }}
- uses: ./.github/actions/setup-project
with:
# Don't run redis and etc... for other unit tests
Expand Down

0 comments on commit 0154eea

Please sign in to comment.