diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 000000000..a3947cf7a --- /dev/null +++ b/.github/workflows/push.yml @@ -0,0 +1,25 @@ +name: push + +on: [push] + +jobs: + build: + + runs-on: windows-latest + + strategy: + matrix: + node-version: [8.x, 10.x, 12.x] + + steps: + - uses: actions/checkout@v1 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v1 + with: + node-version: ${{ matrix.node-version }} + - name: npm install and lint + run: | + npm install + npm run lint + env: + CI: true