This repository has been archived by the owner on Apr 4, 2024. It is now read-only.
Merge pull request #646 from on2ts/dependabot/npm_and_yarn/semantic-r… #2131
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, pull_request] | |
jobs: | |
eslint: | |
name: Lint | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: 14.x | |
- name: npm install, build, and lint | |
run: | | |
npm install | |
npm run build --if-present | |
npm run-script lint |