Skip to content

Commit 5f518e3

Browse files
committed
ci: upgrade editorconfig and commitlint jobs
1 parent 1b8dd4f commit 5f518e3

2 files changed

Lines changed: 13 additions & 2 deletions

File tree

.github/workflows/checks.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- name: Checkout the repository
1212
uses: actions/checkout@v3
1313
- name: Check editorconfig
14-
uses: editorconfig-checker/action-editorconfig-checker@v1
14+
uses: editorconfig-checker/action-editorconfig-checker@main
1515
package-json:
1616
runs-on: ubuntu-latest
1717
name: package.json

.github/workflows/commit.yml

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,16 @@ jobs:
1010
uses: actions/checkout@v3
1111
with:
1212
fetch-depth: 0
13+
- name: Install pnpm
14+
uses: pnpm/action-setup@v2
15+
with:
16+
version: 7
17+
- name: Install Node.js
18+
uses: actions/setup-node@v3
19+
with:
20+
node-version: 16
21+
cache: 'pnpm'
22+
- name: Install dependencies
23+
run: pnpm install
1324
- name: Run commitlint
14-
uses: wagoid/commitlint-github-action@v5
25+
run: pnpm commitlint --from=HEAD~1

0 commit comments

Comments
 (0)