Papi migration #380
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: Lint squid | |
on: | |
pull_request: | |
paths: ['squid/**/*', '.github/workflows/lint-squid.yaml'] | |
jobs: | |
extract: | |
name: eslint | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./squid/ | |
steps: | |
- uses: actions/checkout@v3 | |
- name: set user | |
run: | | |
git config --global user.name 'GitHub Actions' | |
git config --global user.email '[email protected]' | |
# use node module caching | |
- uses: actions/cache@v2 | |
with: | |
path: '**/node_modules' | |
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }} | |
- name: install packages | |
run: npm ci | |
- name: lint | |
run: npm run lint |