ci: fix failing tests
This commit is contained in:
parent
ac87810e0a
commit
f2679d7c2c
2 changed files with 14 additions and 12 deletions
25
.github/workflows/test.yml
vendored
25
.github/workflows/test.yml
vendored
|
@ -12,21 +12,22 @@ jobs:
|
|||
permissions:
|
||||
# permissions required for nix caching to work properly
|
||||
id-token: write
|
||||
contents: read
|
||||
contents: write
|
||||
defaults:
|
||||
run:
|
||||
shell: devenv shell bash -- -e {0}
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: cachix/install-nix-action@v26
|
||||
- uses: cachix/cachix-action@v14
|
||||
with:
|
||||
name: devenv
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/flakehub-cache-action@main
|
||||
- uses: DeterminateSystems/flake-checker-action@main
|
||||
- name: Install devenv.sh
|
||||
run: nix profile install nixpkgs#devenv
|
||||
shell: bash -e {0}
|
||||
- name: Cache turbo build
|
||||
uses: dtinth/setup-github-actions-caching-for-turbo@v1
|
||||
- shell: devenv shell bash -- -e {0}
|
||||
run: |
|
||||
pnpm install
|
||||
pnpm lint
|
||||
pnpm build
|
||||
pnpm test:unit
|
||||
pnpm test:e2e
|
||||
- run: pnpm install
|
||||
- run: pnpm lint
|
||||
- run: pnpm build
|
||||
- run: pnpm test:unit
|
||||
- run: pnpm test:e2e
|
||||
|
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -10,6 +10,7 @@
|
|||
"dompurify",
|
||||
"dtinth",
|
||||
"elasticlunr",
|
||||
"flakehub",
|
||||
"fnref",
|
||||
"Fontawesome",
|
||||
"Fonticons",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue