diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 00000000..019de320 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,21 @@ +name: nodejs-ci + +on: + push: + branches: [ master ] + pull_request: + branches: [ master ] + +jobs: + build: + + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v2 + - name: lint + uses: actions/setup-node@v2 + with: + node-version: '15.x' + - run: npm ci + - run: npm run lint