Skip to content

Commit

Permalink
add integration tests for main & dev
Browse files Browse the repository at this point in the history
  • Loading branch information
peterjah committed Oct 29, 2024
1 parent abb8e33 commit fb3eb18
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
9 changes: 6 additions & 3 deletions .github/workflows/npm-publish-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,13 @@ on:
branches: [main, buildnet]

jobs:
test:
uses: ./.github/workflows/unit-tests.yml
integration-tests:
uses: ./.github/workflows/integration-tests.yml
secrets:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

publish-npm-dev:
needs: test
needs: integration-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,13 @@ on:
types: [created]

jobs:
test:
uses: ./.github/workflows/unit-tests.yml
integration-tests:
uses: ./.github/workflows/integration-tests.yml
secrets:
PRIVATE_KEY: ${{ secrets.PRIVATE_KEY }}

publish-npm:
needs: test
needs: integration-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
Expand Down

0 comments on commit fb3eb18

Please sign in to comment.