Updated the README. #64
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
on: [push] | |
name: Run tests | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Set up Node | |
uses: actions/setup-node@v2 | |
- name: Restore the node modules | |
uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: modules-${{ hashFiles('**/package.json') }} | |
- name: Install packages | |
run: npm i --include-dev | |
- name: Run tests | |
run: npm run test |