minor improvements #7
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: Pull request checks | |
on: [pull_request] | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
name: 'Run lint' | |
steps: | |
- uses: actions/setup-node@v3 | |
- uses: actions/checkout@v3 | |
- uses: actions/cache@v3 | |
with: | |
path: ~/.npm | |
key: npm-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
npm-node- | |
- name: Install dependencies | |
run: npm ci --ignore-scripts | |
- name: Run lint | |
run: npm run lint |