File tree Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Expand file tree Collapse file tree 2 files changed +18
-8
lines changed Original file line number Diff line number Diff line change @@ -41,15 +41,22 @@ jobs:
41
41
with :
42
42
fetch-depth : 0
43
43
- name : Commit lint ✨
44
- uses : wagoid/commitlint-github-action@v1
45
- - uses : actions/setup-node@v1
44
+ uses : wagoid/commitlint-github-action@v2
45
+
46
+ - uses : UziTech/action-setup-atom@v1
47
+ - name : Setup PNPM
48
+
46
49
with :
47
- node-version : " 12.x"
48
- # - name: Install NPM dependencies
49
- # run: |
50
- # npm install
50
+ version : latest
51
+
52
+ - name : Install dependencies
53
+ run : pnpm install --only=dev --ignore-scripts
54
+
55
+ - name : Format ✨
56
+ run : pnpm test.format
57
+
51
58
# - name: Lint ✨
52
- # run: npm run lint
59
+ # run: pnpm test. lint
53
60
54
61
Release :
55
62
needs : [Test, Lint]
Original file line number Diff line number Diff line change 11
11
],
12
12
"license" : " MIT" ,
13
13
"scripts" : {
14
- "format" : " prettier --write ."
14
+ "format" : " prettier --write ." ,
15
+ "test.format" : " prettier . --check" ,
16
+ "lint" : " eslint . --fix" ,
17
+ "test.lint" : " eslint ."
15
18
},
16
19
"engines" : {
17
20
"atom" : " >=1.0.0 <2.0.0"
You can’t perform that action at this time.
0 commit comments