Skip to content

Commit

Permalink
run integration tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Dhaiwat10 committed Aug 28, 2024
1 parent 2270687 commit 7803b51
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/pr-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
name: "Release PR to npm"
runs-on: ubuntu-latest
# comment out if:false to enable release PR to npm
# if: false
if: false
permissions: write-all
steps:
- name: Checkout
Expand Down
20 changes: 10 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ jobs:
integration:
runs-on: ubuntu-latest
timeout-minutes: 25
if: github.ref_name == 'master' || github.head_ref == 'changeset-release/master'
# if: github.ref_name == 'master' || github.head_ref == 'changeset-release/master'
steps:
- name: Checkout
uses: actions/checkout@v4
Expand All @@ -69,23 +69,23 @@ jobs:
- name: Run UI tests (on template)
run: sh ./scripts/tests-ui.sh

- name: Wait for release to succeed
uses: lewagon/[email protected]
with:
ref: "refs/heads/master"
check-name: "Release"
repo-token: ${{ secrets.GITHUB_TOKEN }}
wait-interval: 30
# - name: Wait for release to succeed
# uses: lewagon/[email protected]
# with:
# ref: "refs/heads/master"
# check-name: "Release"
# repo-token: ${{ secrets.GITHUB_TOKEN }}
# wait-interval: 30

- name: Run tests (with published version)
run: pnpm test:integration
env:
PUBLISHED_NPM_TAG: next
PUBLISHED_NPM_TAG: pr-3011

- name: Run UI tests (with published version)
run: sh ./scripts/tests-ui-integration.sh
env:
PUBLISHED_NPM_TAG: next
PUBLISHED_NPM_TAG: pr-3011

e2e:
runs-on: ubuntu-latest
Expand Down

0 comments on commit 7803b51

Please sign in to comment.