Skip to content

Commit 775ceff

Browse files
authored
Merge pull request #8 from Coder-Spirit/conditional-lint-on-ci
ci: conditional linting on ci
2 parents 0349a1a + 8aa72ae commit 775ceff

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/tests.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ jobs:
1717
strategy:
1818
matrix:
1919
node-version: [ 16, 18, 20 ]
20-
os: [ubuntu-20.04, ubuntu-22.04, windows-latest, macos-12, macos-11]
20+
os: [ubuntu-22.04, ubuntu-20.04, windows-latest, macos-12, macos-11]
2121

2222
runs-on: ${{ matrix.os }}
2323

@@ -36,6 +36,7 @@ jobs:
3636
- name: Install dependencies
3737
run: pnpm install
3838
- name: Run Linters
39+
if: ${{ matrix.os == 'ubuntu-22.04' }}
3940
run: pnpm lint
4041
- name: Build Library
4142
run: pnpm build

0 commit comments

Comments
 (0)