1.0.0-beta.21 #62
Workflow file for this run
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: | |
lint: | |
name: Lint & Test | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Use Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version-file: '.node-version' | |
- name: Install dependencies | |
run: npm ci | |
- name: Cache npm modules | |
uses: actions/cache@v2 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('npm-shrinkwrap.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Lint | |
run: npm run lint | |
- name: Test | |
run: npm test |