Skip to content

Commit 747c899

Browse files
committed
ci: skip scripts in CI to speed up installation
1 parent 90f6671 commit 747c899

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ jobs:
8484
run: pnpm snapshot
8585
- name: Install dependencies in playground
8686
working-directory: ./playground
87-
run: pnpm install --no-frozen-lockfile
87+
run: pnpm install --no-frozen-lockfile --ignore-scripts
8888

8989
- name: Run build script in playground
9090
working-directory: ./playground
@@ -123,7 +123,7 @@ jobs:
123123
run: pnpm snapshot
124124
- name: Install dependencies in playground
125125
working-directory: ./playground
126-
run: pnpm install --no-frozen-lockfile
126+
run: pnpm install --no-frozen-lockfile --ignore-scripts
127127
env:
128128
# Skip Cypress installation temporarily, we'll install it later with cache
129129
CYPRESS_INSTALL_BINARY: 0

utils/trimBoilerplate.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ export function removeCSSImport(
2727
) {
2828
// Remove CSS import in the entry file
2929
const entryPath = path.resolve(rootDir, needsTypeScript ? 'src/main.ts' : 'src/main.js')
30-
replaceContent(entryPath, (content) => content.replace("import './assets/main.css'\n\n", ''))
30+
replaceContent(entryPath, (content) => content.replace("import './assets/main.css'\r\n\r\n", ''))
3131

3232
if (needsCypressCT) {
3333
const ctSetupPath = path.resolve(

0 commit comments

Comments
 (0)