Merge pull request #269 from dorny/feature/dep #352
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: 'CI' | |
on: | |
pull_request: | |
paths-ignore: [ '**.md' ] | |
push: | |
paths-ignore: [ '**.md' ] | |
branches: | |
- main | |
workflow_dispatch: | |
jobs: | |
build-test: | |
name: Build & Test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- run: node --version | |
- run: npm ci | |
- run: npm run build | |
- run: npm run format-check | |
- run: npm run lint | |
- run: npm test | |
- name: Upload test results | |
if: success() || failure() | |
uses: actions/upload-artifact@v3 | |
with: | |
name: test-results | |
path: __tests__/__results__/*.xml |