Skip to content

Commit

Permalink
chore(.gitignore-sync): ignore fixtures lockfiles to avoid renovate e…
Browse files Browse the repository at this point in the history
…rrors
  • Loading branch information
risu729 committed Jan 11, 2025
1 parent 8e79026 commit 6669296
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 786 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ jobs:
run: echo "hash=${{ hashFiles('tests/e2e/fixtures/**/*', 'tests/e2e/conversion.test.ts') }}" >> "${GITHUB_OUTPUT}"

- name: Install E2E Test Fixtures Dependencies
run: bun install --frozen-lockfile
run: bun install --save-text-lockfile
working-directory: tests/e2e/fixtures

- name: Restore Snapshots Cache
Expand Down
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -184,6 +184,7 @@ dist
playwright-report/
test-results/
tests/e2e/conversion.test.ts-snapshots/
tests/e2e/fixtures/bun.lock

# Windows thumbnail cache files
Thumbs.db
Expand Down
4 changes: 3 additions & 1 deletion .gitignore-sync
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ref: https://github.com/foray1010/ignore-sync?tab=readme-ov-file#how-to-use

[oven-sh/bun]
src/cli/gitignore-for-init
src/cli/init/gitignore.default

[inline]
.cspellcache
Expand All @@ -10,6 +10,8 @@ playwright-report/
test-results/
# ignore snapshots generated in CI
tests/e2e/conversion.test.ts-snapshots/
# ignore fixtures bun lockfile because Renovate cannot update lockfile with linked dependencies
tests/e2e/fixtures/bun.lock

[github/gitignore]
Global/Windows.gitignore
Expand Down
2 changes: 1 addition & 1 deletion cspell.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ module.exports = {
".git/",
// ignore auto-generated files
".gitignore",
"bun.lockb",
"bun.lock",
// ignore license files
"LICENSE",
// ignore binary files
Expand Down
2 changes: 1 addition & 1 deletion tasks.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ run = "bun run playwright test vrt --update-snapshots"

["test:e2e:fixtures:server"]
depends = ["build"]
run = ["bun install --frozen-lockfile", "bun run build", "bun run preview"]
run = ["bun install --save-text-lockfile", "bun run build", "bun run preview"]
dir = "tests/e2e/fixtures"

["test:e2e:fixtures:remove-symlinks"]
Expand Down
Loading

0 comments on commit 6669296

Please sign in to comment.