File tree Expand file tree Collapse file tree 5 files changed +15
-14
lines changed
Expand file tree Collapse file tree 5 files changed +15
-14
lines changed Original file line number Diff line number Diff line change 11# This worklflow will perform following actions when the code is pushed to development branch:
22# - Run end to end test.
33# - Check Linting.
4- # - Build the latest docker image in development which needs both e2etest and lint to pass first.
4+ # - Build the latest docker image in development which needs both e2e and lint to pass first.
55# - Push the latest docker image to Google Artifact Registry-Dev.
66# - Rollout the latest image in GKE.
77#
2626 REPOSITORY_NAMESPACE : nfdi4chem
2727
2828jobs :
29- e2etest :
29+ e2e :
3030 uses : NFDI4Chem/nmrium-react-wrapper/.github/workflows/e2e.yml@main
3131
3232 lint :
3636 name : Deploy to dev
3737 if : github.ref == 'refs/heads/development'
3838 runs-on : ubuntu-latest
39- needs : [lint, e2etest ]
39+ needs : [lint, e2e ]
4040 steps :
4141 - name : Checkout
4242 uses : actions/checkout@v4
Original file line number Diff line number Diff line change 66 - development
77
88jobs :
9- e2etest :
9+ e2e :
1010 uses : NFDI4Chem/nmrium-react-wrapper/.github/workflows/e2e.yml@main
1111 lint :
1212 uses : NFDI4Chem/nmrium-react-wrapper/.github/workflows/nodejs.yml@main
Original file line number Diff line number Diff line change 44 workflow_call :
55
66jobs :
7- e2etest :
8- runs-on : ubuntu -latest
7+ e2e :
8+ runs-on : macos -latest
99 strategy :
1010 matrix :
1111 project : [chromium, firefox, webkit]
1414 - uses : actions/checkout@v4
1515 - uses : actions/setup-node@v4
1616 with :
17- node-version : 22.x
17+ node-version-file : package.json
1818 - name : Install dependencies
1919 run : npm ci
2020 - name : Install Playwright
2828 if : always()
2929 uses : actions/upload-artifact@v4
3030 with :
31- name : test-results-${{ matrix.project }}
32- path : test-results
33-
31+ name : playwright-${{ matrix.project }}
32+ path : |
33+ test-results
34+ playwright-report
Original file line number Diff line number Diff line change 1010 - uses : actions/checkout@v4
1111 - uses : actions/setup-node@v4
1212 with :
13- node-version : 20.x
13+ node-version-file : package.json
1414 - name : Install dependencies
1515 run : npm ci
1616 - name : Run ESLint
Original file line number Diff line number Diff line change 22# This worklflow will perform following actions when the code is pushed to main branch.
33# - Run end to end test
44# - Test linting.
5- # - Trigger release-please action to create release which needs e2etest & lint to pass first.
5+ # - Trigger release-please action to create release which needs e2e & lint to pass first.
66#
77# Maintainers:
88# - name: Nisha Sharma
1616 - main
1717
1818jobs :
19- e2etest :
19+ e2e :
2020 uses : NFDI4Chem/nmrium-react-wrapper/.github/workflows/e2e.yml@main
2121
2222 lint :
2323 uses : NFDI4Chem/nmrium-react-wrapper/.github/workflows/nodejs.yml@main
2424
2525 release-please :
2626 runs-on : ubuntu-latest
27- needs : ['lint', 'e2etest ']
27+ needs : ['lint', 'e2e ']
2828 steps :
2929 - uses : google-github-actions/release-please-action@v3
3030 with :
You can’t perform that action at this time.
0 commit comments