Switch from Travis to Github Actions
Split lint and qunit tests into different workflows
This commit is contained in:
24
.github/workflows/node-lint.yml
vendored
Normal file
24
.github/workflows/node-lint.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
name: Lint
|
||||
on:
|
||||
[pull_request, push]
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-20.04
|
||||
strategy:
|
||||
matrix:
|
||||
node: [ '10, '14' ]
|
||||
steps:
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v2
|
||||
|
||||
- name: Use Node.js ${{ matrix.node }}
|
||||
uses: actions/setup-node@v2
|
||||
with:
|
||||
node-version: ${{ matrix.node }}
|
||||
|
||||
- name: Install package.json dependencies
|
||||
run: npm install
|
||||
|
||||
- name: Run linting
|
||||
run: npm run lint
|
||||
Reference in New Issue
Block a user