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

Commit 1d10ec7

Browse files
committed
chore: Move Linting to GitHub Actions
1 parent 90b1f03 commit 1d10ec7

File tree

2 files changed

+34
-1
lines changed

2 files changed

+34
-1
lines changed

.github/workflows/lint-js.yml

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
name: Lint JS
2+
3+
on:
4+
push:
5+
paths:
6+
- "**/*.js"
7+
- ".eslintrc.json"
8+
- "package.json"
9+
- "bin/node-sass"
10+
- ".github/workflows/lint-js.yml"
11+
pull_request:
12+
paths:
13+
- "**/*.js"
14+
- ".eslintrc.json"
15+
- "package.json"
16+
- "bin/node-sass"
17+
- ".github/workflows/lint-js.yml"
18+
19+
jobs:
20+
build:
21+
runs-on: ubuntu-latest
22+
env:
23+
SKIP_SASS_BINARY_DOWNLOAD_FOR_CI: true
24+
25+
steps:
26+
- uses: actions/checkout@v2
27+
28+
- uses: actions/setup-node@v1
29+
30+
- name: Install packages
31+
run: npm install --unsafe-perm
32+
33+
- name: Run Linting
34+
run: npm run lint

.travis.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,6 @@ jobs:
1111
- stage: test
1212
node_js: "14.5"
1313
os: linux
14-
before_script: npm run lint || exit 1;
1514
after_success: npm run-script coverage;
1615
addons:
1716
apt:

0 commit comments

Comments
 (0)