harmony/.github/workflows/lint.yml

27 lines
610 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:
2020-12-02 12:29:52 +00:00
branches: [main]
2020-11-06 16:53:14 +00:00
pull_request:
2020-12-02 12:29:52 +00:00
branches: [main]
2020-11-06 16:53:14 +00:00
jobs:
build:
2020-11-30 11:13:39 +00:00
runs-on: ubuntu-latest
2020-11-06 16:53:14 +00:00
steps:
2020-12-02 12:29:52 +00:00
- uses: actions/checkout@v2
- name: Setup Node.js
uses: actions/setup-node@v2.1.2
2020-11-06 16:53:14 +00:00
2020-12-02 12:29:52 +00:00
- name: Setup ESLint
run: npm install
2020-11-06 16:53:14 +00:00
2020-12-02 12:29:52 +00:00
- name: Test ESLint
run: npx eslint src/