Skip to content
This repository was archived by the owner on Jan 8, 2022. It is now read-only.

Commit 3d1bf16

Browse files
committed
ci: testing workflows
1 parent a04500c commit 3d1bf16

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ jobs:
2020
run: npm install
2121

2222
- name: ESLint
23-
run: npm run lint
23+
uses: icrawl/action-eslint@v1
2424

2525
- name: Documentation
2626
run: npm run docs:test

.github/workflows/test.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
name: Testing
2+
on: [push, pull_request]
3+
jobs:
4+
lint:
5+
name: ESLint
6+
runs-on: ubuntu-latest
7+
steps:
8+
- name: Checkout repository
9+
uses: actions/checkout@v2
10+
11+
- name: Install Node v12
12+
uses: actions/setup-node@v1
13+
with:
14+
node-version: 12
15+
16+
- name: Install dependencies
17+
run: npm install
18+
19+
- name: Run ESLint
20+
uses: icrawl/action-eslint@v1

0 commit comments

Comments
 (0)