diff --git a/.github/workflows/lint_js.yml b/.github/workflows/lint_js.yml new file mode 100644 index 0000000..7303842 --- /dev/null +++ b/.github/workflows/lint_js.yml @@ -0,0 +1,16 @@ +name: lint_js + +on: [pull_request, push] + +jobs: + check: + name: lint_js + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - uses: actions/setup-node@v3 + with: + node-version: '16' + - run: npm ci + - run: npm run lint + - run: npm run format -- --check