Merge pull request #1683 from Genez-io/analyze-stop-overwriting-confi… #4868
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: Unit Tests | |
on: | |
push: | |
branches: | |
- main | |
- dev | |
paths-ignore: | |
- "**/*.md" | |
pull_request: | |
types: [opened, reopened, synchronize] | |
jobs: | |
build: | |
strategy: | |
matrix: | |
node-version: [18, 20] | |
os: [ubuntu-latest, windows-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- run: npm ci | |
- run: npm run install-locally | |
- name: Unset CI | |
run: echo "CI=false" >> "$GITHUB_ENV" | |
if: runner.os != 'Windows' | |
- name: Unset CI | |
run: echo "CI=false" | Out-File -FilePath $env:GITHUB_ENV -Append | |
if: runner.os == 'Windows' | |
- run: npm test |