Skip to content

Commit 415f06c

Browse files
committed
Fixed GH Actions
1 parent d759935 commit 415f06c

File tree

1 file changed

+3
-22
lines changed

1 file changed

+3
-22
lines changed

.github/workflows/github-ci.yml

Lines changed: 3 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
name: Run Tests
22

3-
on: [push, pull_request]
3+
on: [pull_request]
44

55
jobs:
66
cache_node_modules:
@@ -21,7 +21,7 @@ jobs:
2121
if: steps.cache-node-modules.outputs.cache-hit != 'true'
2222
run: npm install
2323

24-
test_lints_sass:
24+
test_lints:
2525
needs: cache_node_modules
2626
runs-on: ubuntu-latest
2727

@@ -42,26 +42,7 @@ jobs:
4242

4343
- name: Test SASS
4444
run: npm run test:sass
45-
46-
test_lints_js:
47-
needs: cache_node_modules
48-
runs-on: ubuntu-latest
49-
50-
steps:
51-
- name: Checkout repository code
52-
uses: actions/checkout@v2
53-
54-
- name: Load node_modules
55-
id: cache-node-modules
56-
uses: actions/cache@v2
57-
with:
58-
path: node_modules
59-
key: node_modules-${{ hashFiles('package-lock.json') }}
60-
61-
- name: Install node_modules
62-
if: steps.cache-node-modules.outputs.cache-hit != 'true'
63-
run: npm install
64-
45+
6546
- name: Test JS
6647
run: npm run test:js
6748

0 commit comments

Comments
 (0)