From fb05c2d80f8219ee41d597a43381ecb8134ea5b9 Mon Sep 17 00:00:00 2001 From: Francis Gulotta Date: Fri, 30 Aug 2019 21:11:42 -0400 Subject: [PATCH] feat: Use GitHub actions for linting (#1927) --- .github/workflows/lint.yml | 17 +++++++++++++++++ .travis.yml | 1 - appveyor.yml | 1 - 3 files changed, 17 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/lint.yml diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml new file mode 100644 index 000000000..dffd350e2 --- /dev/null +++ b/.github/workflows/lint.yml @@ -0,0 +1,17 @@ +name: Lint + +on: [push] + +jobs: + test: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v1 + - name: Use Node.js 12 + uses: actions/setup-node@v1 + with: + node-version: 12 + - name: npm install + run: npm install + - name: npm run lint + run: npm run lint diff --git a/.travis.yml b/.travis.yml index d4cccc98f..a04ea8eb4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -69,7 +69,6 @@ install: - npm run rebuild script: -- npm run lint - npm test # if publishing, do it diff --git a/appveyor.yml b/appveyor.yml index 956251db7..b2d348ac2 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -47,7 +47,6 @@ build_script: - npm run rebuild test_script: -- npm run lint - npm test - ps: >