-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #207 from jill64/dev
chore: refactor ci config
- Loading branch information
Showing
11 changed files
with
135 additions
and
228 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import { svelteTsConfig } from '@jill64/eslint-config-svelte' | ||
|
||
/** @type {import('@jill64/eslint-config-svelte').FlatConfig[]} */ | ||
export default svelteTsConfig() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import { tsConfig } from '@jill64/eslint-config-ts' | ||
|
||
/** @type {import('@jill64/eslint-config-ts').FlatConfig[]} */ | ||
export default [ | ||
...tsConfig(), | ||
{ | ||
ignores: ['tests', 'demo', 'scripts'] | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,38 +1,12 @@ | ||
import { defineConfig, devices } from '@playwright/test' | ||
import { extendsConfig } from '@jill64/playwright-config' | ||
|
||
const ref_name = process.env.GITHUB_REF_NAME | ||
|
||
export default defineConfig({ | ||
export default extendsConfig({ | ||
use: { | ||
baseURL: | ||
ref_name === 'main' | ||
? 'https://sentry-sveltekit-cloudflare.pages.dev' | ||
: `https://${ref_name}.sentry-sveltekit-cloudflare.pages.dev` | ||
}, | ||
testDir: 'tests', | ||
fullyParallel: true, | ||
workers: '100%', | ||
retries: process.env.CI ? 2 : 0, | ||
projects: [ | ||
{ | ||
name: 'chromium', | ||
use: devices['Desktop Chrome'] | ||
}, | ||
{ | ||
name: 'firefox', | ||
use: devices['Desktop Firefox'] | ||
}, | ||
{ | ||
name: 'webkit', | ||
use: devices['Desktop Safari'] | ||
}, | ||
{ | ||
name: 'Mobile Chrome', | ||
use: devices['Pixel 5'] | ||
}, | ||
{ | ||
name: 'Mobile Safari', | ||
use: devices['iPhone 12'] | ||
} | ||
] | ||
} | ||
}) |
Oops, something went wrong.