Skip to content
This repository was archived by the owner on Nov 22, 2020. It is now read-only.

Commit 851e5f4

Browse files
committed
Add lint job
1 parent 4ed11ac commit 851e5f4

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

Diff for: .github/workflows/deploy.yml

+18
Original file line numberDiff line numberDiff line change
@@ -20,3 +20,21 @@ jobs:
2020
- run: npm run dist
2121

2222
- run: git push origin `git subtree split --prefix dist stable`:master --force
23+
24+
lint:
25+
name: Lint stable branch
26+
runs-on: ubuntu-latest
27+
steps:
28+
- uses: actions/checkout@v2
29+
- uses: actions/setup-node@v1
30+
with:
31+
node-version: 12
32+
33+
- run: npm run lint
34+
35+
- uses: EndBug/add-and-commit@v4
36+
with:
37+
add: src
38+
message: "[auto] Lint source code"
39+
env:
40+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)