Merge pull request #32 from BlockInfinity/dependabot/npm_and_yarn/cro… #34
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: ["push"] | |
jobs: | |
check_linter_and_tests: | |
name: CI | |
runs-on: ubuntu-latest | |
timeout-minutes: 20 | |
environment: default_environment | |
steps: | |
- uses: actions/checkout@master | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: '20.12.0' | |
- name: Install dependencies | |
run: npm i | |
- name: Check for Linting Violations | |
run: npm run lint | |
- name: Build | |
run: npm run build | |
- name: Run Tests | |
run: npm run tests |