[Common] set only_warn for checks and on pull_request to master #105
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: Autotests Core | |
on: | |
push: | |
branches: | |
- master | |
- staged | |
pull_request: | |
branches: | |
- master | |
jobs: | |
Autotests: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: 20 | |
cache: 'npm' | |
cache-dependency-path: package-lock.json | |
- run: npm run ci-install | |
- run: npm run compile | |
working-directory: ./src/core | |
- run: npm run test | |
working-directory: ./src/core |