This repository has been archived by the owner on Aug 4, 2023. It is now read-only.
chore: switch standard to eslint #42
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
# Lint this change with the latest node LTS. | |
name: Lint | |
# https://github.community/t/how-to-trigger-an-action-on-push-or-pull-request-but-not-both/16662/2 | |
on: | |
push: | |
branches: | |
- main | |
paths-ignore: | |
- '*.md' | |
pull_request: | |
branches: | |
- main | |
paths-ignore: | |
- '*.md' | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v2 | |
with: | |
node-version: '18' | |
- run: npm install | |
- run: npm run lint |