diff --git a/.github/workflows/deploy_staging.yaml b/.github/workflows/deploy_staging.yaml index 231b410..822e31c 100644 --- a/.github/workflows/deploy_staging.yaml +++ b/.github/workflows/deploy_staging.yaml @@ -7,7 +7,6 @@ on: push: branches: - develop - workflow_dispatch: jobs: tests: @@ -20,7 +19,7 @@ jobs: - name: Run tests run: npm test staging: - if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && github.ref_name == 'develop' }} + if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true }} env: environment: staging runs-on: ubuntu-latest diff --git a/src/tests/index.test.ts b/src/tests/index.test.ts index 5d14527..422e10e 100644 --- a/src/tests/index.test.ts +++ b/src/tests/index.test.ts @@ -107,4 +107,4 @@ describe('index', () => { expect(errorHandler).toBeCalled(); }); -}); \ No newline at end of file +});