Skip to content

Commit 9f6e09c

Browse files
committed
ci: add run exclusion for quality workflows. prettier.
1 parent 60c303c commit 9f6e09c

File tree

2 files changed

+10
-2
lines changed

2 files changed

+10
-2
lines changed

.github/workflows/quality.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ concurrency:
2020
jobs:
2121
prettier:
2222
name: Prettier
23+
# Don't run on the first run after creating from template. (run_number == 1).
24+
if: github.run_number != 1
2325
runs-on: ubuntu-latest
2426
steps:
2527
- name: Checkout
@@ -33,6 +35,8 @@ jobs:
3335

3436
tests:
3537
name: Unit Tests
38+
# Don't run on the first run after creating from template. (run_number == 1).
39+
if: github.run_number != 1
3640
runs-on: ubuntu-latest
3741
steps:
3842
- name: Checkout
@@ -46,6 +50,8 @@ jobs:
4650

4751
eslint:
4852
name: ESLint
53+
# Don't run on the first run after creating from template. (run_number == 1).
54+
if: github.run_number != 1
4955
runs-on: ubuntu-latest
5056
steps:
5157
- name: Checkout
@@ -61,6 +67,8 @@ jobs:
6167

6268
types:
6369
name: TypeScript
70+
# Don't run on the first run after creating from template. (run_number == 1).
71+
if: github.run_number != 1
6472
runs-on: ubuntu-latest
6573
steps:
6674
- name: Checkout

packages/_template/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"include": ["src"],
44
"compilerOptions": {
55
"baseUrl": ".",
6-
"module": "ES2022",
7-
},
6+
"module": "ES2022"
7+
}
88
}

0 commit comments

Comments
 (0)