Skip to content

Commit

Permalink
chore(ci): use single job to lint
Browse files Browse the repository at this point in the history
  • Loading branch information
anehx committed Dec 7, 2023
1 parent 7f6afc3 commit 25d8248
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,13 @@ jobs:
runs-on: [ubuntu-latest]
timeout-minutes: 5

strategy:
matrix:
target: [js, hbs, css, prettier]

steps:
- uses: actions/checkout@v4
- uses: wyvox/action-setup-pnpm@v3
with:
node-version: ${{ env.NODE_VERSION }}
- name: Lint ${{ matrix.target }}
run: pnpm lint:${{ matrix.target }}
- name: Lint
run: pnpm lint

test:
name: Tests
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"stylelint-prettier": "^4.1.0",
"stylelint-scss": "5.3.1"
},
"packageManager": "pnpm@8.6.0",
"packageManager": "pnpm@8.11.0",
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
Expand Down

0 comments on commit 25d8248

Please sign in to comment.