Skip to content
This repository has been archived by the owner on Jul 24, 2024. It is now read-only.

Commit

Permalink
chore: Move Linting to GitHub Actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nschonni committed Sep 27, 2020
1 parent 90b1f03 commit 1d10ec7
Show file tree
Hide file tree
Showing 2 changed files with 34 additions and 1 deletion.
34 changes: 34 additions & 0 deletions .github/workflows/lint-js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Lint JS

on:
push:
paths:
- "**/*.js"
- ".eslintrc.json"
- "package.json"
- "bin/node-sass"
- ".github/workflows/lint-js.yml"
pull_request:
paths:
- "**/*.js"
- ".eslintrc.json"
- "package.json"
- "bin/node-sass"
- ".github/workflows/lint-js.yml"

jobs:
build:
runs-on: ubuntu-latest
env:
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true

steps:
- uses: actions/checkout@v2

- uses: actions/setup-node@v1

- name: Install packages
run: npm install --unsafe-perm

- name: Run Linting
run: npm run lint
1 change: 0 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ jobs:
- stage: test
node_js: "14.5"
os: linux
before_script: npm run lint || exit 1;
after_success: npm run-script coverage;
addons:
apt:
Expand Down

0 comments on commit 1d10ec7

Please sign in to comment.