harmony/.github/workflows/lint.yml

28 lines
607 B
YAML
Raw Normal View History

2020-11-06 16:53:14 +00:00
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Lint Test
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
2020-11-30 11:13:39 +00:00
runs-on: ubuntu-latest
2020-11-06 16:53:14 +00:00
steps:
- uses: actions/checkout@v2
- name: Setup Node.js
2020-11-06 16:54:55 +00:00
uses: actions/setup-node@v2.1.2
2020-11-06 16:53:14 +00:00
- name: Setup ESLint
run: npm install
- name: Test ESLint
run: npx eslint src/