feat: add custom action to set PATH environment variable and show tha… #406
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Tests | |
on: | |
pull_request: | |
push: | |
branches-ignore: | |
- 'hotfix-*' # excludes hotfix branches | |
- 'release' | |
jobs: | |
test-app: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18.3.0 | |
- run: cd App && npm install && npm run test | |
test-home: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18.3.0 | |
- run: cd Home && npm install && npm run test | |
test-worker: | |
runs-on: ubuntu-latest | |
env: | |
CI_PIPELINE_ID: ${{github.run_number}} | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 18.3.0 | |
- run: cd Worker && npm install && npm run test |