Skip to content

Commit

Permalink
Merge pull request #41 from helium/develop
Browse files Browse the repository at this point in the history
Develop
  • Loading branch information
deasydoesit authored Mar 19, 2024
2 parents 4f1da7c + f5a6cbe commit e2f6a84
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
push:
branches:
- main
- develop
workflow_dispatch:

jobs:
Expand All @@ -20,7 +21,7 @@ jobs:
- name: Run tests
run: npm test
staging:
if: ${{ github.event_name == 'push' && github.ref_name == 'develop' }}
if: ${{ github.event_name == 'pull_request' && github.event.action == 'closed' && github.event.pull_request.merged == true && github.ref_name == 'develop' }}
env:
environment: staging
runs-on: ubuntu-latest
Expand Down
2 changes: 1 addition & 1 deletion src/tests/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -107,4 +107,4 @@ describe('index', () => {

expect(errorHandler).toBeCalled();
});
});
});

0 comments on commit e2f6a84

Please sign in to comment.