Skip to content

Commit

Permalink
ci: add run exclusion for quality workflows. prettier.
Browse files Browse the repository at this point in the history
  • Loading branch information
amandaguthrie committed May 21, 2024
1 parent 60c303c commit 9f6e09c
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 2 deletions.
8 changes: 8 additions & 0 deletions .github/workflows/quality.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,8 @@ concurrency:
jobs:
prettier:
name: Prettier
# Don't run on the first run after creating from template. (run_number == 1).
if: github.run_number != 1
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -33,6 +35,8 @@ jobs:

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

eslint:
name: ESLint
# Don't run on the first run after creating from template. (run_number == 1).
if: github.run_number != 1
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand All @@ -61,6 +67,8 @@ jobs:

types:
name: TypeScript
# Don't run on the first run after creating from template. (run_number == 1).
if: github.run_number != 1
runs-on: ubuntu-latest
steps:
- name: Checkout
Expand Down
4 changes: 2 additions & 2 deletions packages/_template/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"include": ["src"],
"compilerOptions": {
"baseUrl": ".",
"module": "ES2022",
},
"module": "ES2022"
}
}

0 comments on commit 9f6e09c

Please sign in to comment.