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:
4141 with :
4242 fetch-depth : 0
4343 - 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+ uses : pnpm/action-setup@v1.2.1
4649 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+
5158 # - name: Lint ✨
52- # run: npm run lint
59+ # run: pnpm test. lint
5360
5461 Release :
5562 needs : [Test, Lint]
Original file line number Diff line number Diff line change 1111 ],
1212 "license" : " MIT" ,
1313 "scripts" : {
14- "format" : " prettier --write ."
14+ "format" : " prettier --write ." ,
15+ "test.format" : " prettier . --check" ,
16+ "lint" : " eslint . --fix" ,
17+ "test.lint" : " eslint ."
1518 },
1619 "engines" : {
1720 "atom" : " >=1.0.0 <2.0.0"
You can’t perform that action at this time.
0 commit comments