Skip to content

Commit

Permalink
infra: use custom ci properties
Browse files Browse the repository at this point in the history
  • Loading branch information
ST-DDT committed Feb 24, 2024
1 parent 9754d53 commit 2ddb8aa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,8 @@ jobs:
pnpm run build
pnpm run test -u
continue-on-error: true
env:
CI_PREFLIGHT: true

- name: Check diff
id: diff
Expand Down
2 changes: 1 addition & 1 deletion vitest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export default defineConfig({
reporter: ['clover', 'cobertura', 'lcov', 'text'],
include: ['src'],
},
reporters: process.env.GITHUB_ACTIONS
reporters: process.env.CI_PREFLIGHT
? ['basic', 'github-actions']
: ['basic'],
sequence: {
Expand Down

0 comments on commit 2ddb8aa

Please sign in to comment.