Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/lowmess/lowm.es. A simple URL shortener lowm.es
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334name: CI
on: push: branches: [master]
pull_request: # run on all PRs
jobs: lint: runs-on: ubuntu-latest
steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v1
- name: Cache node_modules uses: actions/cache@v2 env: cache-name: cache-node-modules with: path: ~/.npm key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }} restore-keys: | ${{ runner.os }}-build-${{ env.cache-name }}- ${{ runner.os }}-build- ${{ runner.os }}-
- name: Install dependencies with npm run: npm install
- name: Run ESLint run: npx eslint . --ext .js,.jsx,.ts,.tsx --max-warnings 0