chore(deps-dev): bump @types/node from 20.2.5 to 20.6.3 in /ui #580
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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
- name: Load cached node_modules | |
id: cached-node-modules | |
uses: actions/cache@v3 | |
with: | |
path: ./ui/node_modules/ | |
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('./ui/package-lock.json') }} | |
- name: Install deps | |
working-directory: ./ui | |
run: npm install | |
if: steps.cached-node-modules.outputs.cache-hit != 'true' | |
- name: Lint UI | |
working-directory: ./ui | |
run: npm run lint | |