File tree Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Expand file tree Collapse file tree 1 file changed +32
-0
lines changed Original file line number Diff line number Diff line change 1
1
name : Build and Deploy
2
2
3
3
on :
4
+ pull_request :
4
5
push :
5
6
branches :
6
7
- master # Only on master now
7
8
8
9
jobs :
10
+ Lint :
11
+ if : " !contains(github.event.head_commit.message, '[skip ci]')"
12
+ runs-on : ubuntu-latest
13
+ env :
14
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
15
+ steps :
16
+ - uses : actions/checkout@v2
17
+ with :
18
+ fetch-depth : 0
19
+
20
+ - name : Commit lint ✨
21
+ uses : wagoid/commitlint-github-action@v2
22
+
23
+ - uses : atom-community/action-setup-atom@v1
24
+ - name : Setup PNPM
25
+
26
+ with :
27
+ version : latest
28
+
29
+ - name : Install dependencies
30
+ run : pnpm install
31
+
32
+ # - name: Format ✨
33
+ # run: pnpm test.format
34
+
35
+ - name : Lint ✨
36
+ run : pnpm test.lint
37
+
9
38
build-and-deploy :
39
+ needs : [Lint]
40
+ if : github.ref == 'refs/heads/master' &&
41
+ github.event.repository.fork == false
10
42
runs-on : ubuntu-latest
11
43
steps :
12
44
- name : Checkout 🛎️
You can’t perform that action at this time.
0 commit comments