ci: expand CI checks and make consumer sync opt-in
- Add Go, npm, Python, and Java validation to CI - Run Go tests against PostgreSQL - Record performance fixes in the report
This commit is contained in:
1 parent
199a5efaef
commit
22887fef03
100 files changed
+9740
-429
No files matched your search
@@ -1,10 +1,11 @@
|
||||
import { readFile, writeFile } from 'node:fs/promises';
|
||||
|
||||
const source = await readFile(new URL('../packages/web-ui/dist/styles.css', import.meta.url), 'utf8');
|
||||
const tokenImport = "@import '@gabriel20xx/design-tokens/theme.css';";
|
||||
// The token import may be written with single or double quotes, and with or without the semicolon.
|
||||
const tokenImport = /^@import\s+(['"])@gabriel20xx\/design-tokens\/theme\.css\1\s*;?$/;
|
||||
const componentStyles = source
|
||||
.split(/\r?\n/)
|
||||
.filter((line) => line.trim() !== tokenImport)
|
||||
.filter((line) => !tokenImport.test(line.trim()))
|
||||
.join('\n')
|
||||
.trimStart();
|
||||
|
||||
|
||||
Reference in new issue
Block a user