Update config and cache deps on CI #28
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: Quality check | |
on: [push] | |
jobs: | |
quick-check: | |
runs-on: ubuntu-20.04 | |
steps: | |
- name: Checkout to the repository | |
uses: actions/checkout@v4 | |
- name: Setup required Node.JS version | |
uses: actions/setup-node@v4 | |
with: | |
node-version-file: 'package.json' | |
cache: 'npm' | |
- name: Dependency installation | |
run: npm install | |
- name: Run tests | |
run: npm test |