ci: fix failing tests

This commit is contained in:
Kim, Jimin 2025-06-01 06:55:06 +09:00
parent ac87810e0a
commit f2679d7c2c
Signed by: pomp
GPG key ID: D3932F82A0667A3B
2 changed files with 14 additions and 12 deletions

View file

@ -12,21 +12,22 @@ jobs:
permissions: permissions:
# permissions required for nix caching to work properly # permissions required for nix caching to work properly
id-token: write id-token: write
contents: read contents: write
defaults:
run:
shell: devenv shell bash -- -e {0}
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- uses: cachix/install-nix-action@v26 - uses: DeterminateSystems/nix-installer-action@main
- uses: cachix/cachix-action@v14 - uses: DeterminateSystems/flakehub-cache-action@main
with: - uses: DeterminateSystems/flake-checker-action@main
name: devenv
- name: Install devenv.sh - name: Install devenv.sh
run: nix profile install nixpkgs#devenv run: nix profile install nixpkgs#devenv
shell: bash -e {0}
- name: Cache turbo build - name: Cache turbo build
uses: dtinth/setup-github-actions-caching-for-turbo@v1 uses: dtinth/setup-github-actions-caching-for-turbo@v1
- shell: devenv shell bash -- -e {0} - run: pnpm install
run: | - run: pnpm lint
pnpm install - run: pnpm build
pnpm lint - run: pnpm test:unit
pnpm build - run: pnpm test:e2e
pnpm test:unit
pnpm test:e2e

View file

@ -10,6 +10,7 @@
"dompurify", "dompurify",
"dtinth", "dtinth",
"elasticlunr", "elasticlunr",
"flakehub",
"fnref", "fnref",
"Fontawesome", "Fontawesome",
"Fonticons", "Fonticons",