Extended to support Configurations added in Azure & with that test results can be categorized based on the config used dev/stage/prod #17
Workflow file for this run
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: Test | |
on: | |
push: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
- '.editorconfig' | |
branches: | |
- main | |
- master | |
pull_request: | |
paths-ignore: | |
- 'docs/**' | |
- 'README.md' | |
- 'LICENSE' | |
- '.editorconfig' | |
branches: | |
- main | |
- master | |
env: | |
AZURE_DEVOPS_PAT: "${{ secrets.AZURE_DEVOPS_PAT }}" | |
jobs: | |
test: | |
runs-on: ${{ matrix.os }} | |
strategy: | |
matrix: | |
os: | |
- ubuntu-latest | |
- windows-latest | |
node: [20.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install modules | |
run: yarn | |
- name: Run tests | |
run: yarn test |