|
4 | 4 | workflow_call: |
5 | 5 | workflow_dispatch: |
6 | 6 | pull_request: |
| 7 | + push: |
| 8 | + branches: |
| 9 | + - node-test-concurrency-group |
7 | 10 |
|
8 | 11 | env: |
9 | 12 | API_KEY: ${{ secrets.API_KEY }} |
|
12 | 15 | EXAMPLE_USER_ID: ${{ secrets.EXAMPLE_USER_ID }} |
13 | 16 |
|
14 | 17 | jobs: |
15 | | - lint: |
16 | | - name: Lint |
17 | | - runs-on: ubuntu-latest |
18 | | - steps: |
19 | | - - uses: actions/checkout@v4 |
20 | | - - name: Install dependencies |
21 | | - run: npm i |
22 | | - - name: Lint |
23 | | - run: npm run lint:ci |
24 | | - format: |
25 | | - name: Format |
26 | | - runs-on: ubuntu-latest |
27 | | - steps: |
28 | | - - uses: actions/checkout@v4 |
29 | | - - name: Install dependencies |
30 | | - run: npm i |
31 | | - - name: Format |
32 | | - run: npm run format:ci |
33 | | - test: |
34 | | - name: Test |
35 | | - runs-on: ubuntu-latest |
36 | | - steps: |
37 | | - - uses: actions/checkout@v4 |
38 | | - - name: Install dependencies |
39 | | - run: npm i |
40 | | - - name: Test |
41 | | - run: npm run test |
| 18 | + # lint: |
| 19 | + # name: Lint |
| 20 | + # runs-on: ubuntu-latest |
| 21 | + # steps: |
| 22 | + # - uses: actions/checkout@v4 |
| 23 | + # - name: Install dependencies |
| 24 | + # run: npm i |
| 25 | + # - name: Lint |
| 26 | + # run: npm run lint:ci |
| 27 | + # format: |
| 28 | + # name: Format |
| 29 | + # runs-on: ubuntu-latest |
| 30 | + # steps: |
| 31 | + # - uses: actions/checkout@v4 |
| 32 | + # - name: Install dependencies |
| 33 | + # run: npm i |
| 34 | + # - name: Format |
| 35 | + # run: npm run format:ci |
| 36 | + # test: |
| 37 | + # name: Test |
| 38 | + # runs-on: ubuntu-latest |
| 39 | + # steps: |
| 40 | + # - uses: actions/checkout@v4 |
| 41 | + # - name: Install dependencies |
| 42 | + # run: npm i |
| 43 | + # - name: Test |
| 44 | + # run: npm run test |
42 | 45 | test-e2e: |
43 | 46 | name: Test E2E |
44 | 47 | runs-on: ubuntu-latest |
45 | 48 | steps: |
46 | | - - uses: actions-cool/check-user-permission@v2 |
47 | | - with: |
48 | | - require: write |
49 | | - id: check_permission |
| 49 | + # - uses: actions-cool/check-user-permission@v2 |
| 50 | + # with: |
| 51 | + # require: write |
| 52 | + # id: check_permission |
50 | 53 | - name: Trigger E2E Workflow in backend-sdk-tests and Wait |
51 | | - if: ${{ steps.check_permission.outputs.require-result == 'true' }} |
| 54 | + # if: ${{ steps.check_permission.outputs.require-result == 'true' }} |
52 | 55 | uses: convictional/[email protected] |
53 | 56 | with: |
54 | 57 | owner: passageidentity |
55 | 58 | repo: backend-sdk-tests |
| 59 | + ref: test-concurrency-group |
56 | 60 | workflow_file_name: integration-tests-complete.yml |
57 | 61 | github_token: ${{ secrets.BE_SDK_PAT }} |
58 | 62 | # github.head_ref is only available on PR events, while github.ref_name provides the branch name on other events |
|
0 commit comments