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:
|
||||||
# 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
|
|
||||||
|
|
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
|
@ -10,6 +10,7 @@
|
||||||
"dompurify",
|
"dompurify",
|
||||||
"dtinth",
|
"dtinth",
|
||||||
"elasticlunr",
|
"elasticlunr",
|
||||||
|
"flakehub",
|
||||||
"fnref",
|
"fnref",
|
||||||
"Fontawesome",
|
"Fontawesome",
|
||||||
"Fonticons",
|
"Fonticons",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue