From bdd85cefe18dd2d426da78c4608467ad937fba46 Mon Sep 17 00:00:00 2001 From: Chris Tran Date: Mon, 27 Jan 2025 10:15:41 -0600 Subject: [PATCH] test --- .github/workflows/on-pull-request.yml | 68 ++++++++++++++------------- 1 file changed, 36 insertions(+), 32 deletions(-) diff --git a/.github/workflows/on-pull-request.yml b/.github/workflows/on-pull-request.yml index a0acd47..09a77ef 100644 --- a/.github/workflows/on-pull-request.yml +++ b/.github/workflows/on-pull-request.yml @@ -4,6 +4,9 @@ on: workflow_call: workflow_dispatch: pull_request: + push: + branches: + - node-test-concurrency-group env: API_KEY: ${{ secrets.API_KEY }} @@ -12,47 +15,48 @@ env: EXAMPLE_USER_ID: ${{ secrets.EXAMPLE_USER_ID }} jobs: - lint: - name: Lint - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: npm i - - name: Lint - run: npm run lint:ci - format: - name: Format - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: npm i - - name: Format - run: npm run format:ci - test: - name: Test - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v4 - - name: Install dependencies - run: npm i - - name: Test - run: npm run test + # lint: + # name: Lint + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install dependencies + # run: npm i + # - name: Lint + # run: npm run lint:ci + # format: + # name: Format + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install dependencies + # run: npm i + # - name: Format + # run: npm run format:ci + # test: + # name: Test + # runs-on: ubuntu-latest + # steps: + # - uses: actions/checkout@v4 + # - name: Install dependencies + # run: npm i + # - name: Test + # run: npm run test test-e2e: name: Test E2E runs-on: ubuntu-latest steps: - - uses: actions-cool/check-user-permission@v2 - with: - require: write - id: check_permission + # - uses: actions-cool/check-user-permission@v2 + # with: + # require: write + # id: check_permission - name: Trigger E2E Workflow in backend-sdk-tests and Wait - if: ${{ steps.check_permission.outputs.require-result == 'true' }} + # if: ${{ steps.check_permission.outputs.require-result == 'true' }} uses: convictional/trigger-workflow-and-wait@v1.6.5 with: owner: passageidentity repo: backend-sdk-tests + ref: test-concurrency-group workflow_file_name: integration-tests-complete.yml github_token: ${{ secrets.BE_SDK_PAT }} # github.head_ref is only available on PR events, while github.ref_name provides the branch name on other events