ci: fix failing tests
This commit is contained in:
parent
4cb28870d4
commit
a838ee047c
1 changed files with 6 additions and 10 deletions
16
.github/workflows/test.yml
vendored
16
.github/workflows/test.yml
vendored
|
@ -12,20 +12,16 @@ 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: write
|
contents: read
|
||||||
defaults:
|
|
||||||
run:
|
|
||||||
shell: devenv shell bash -- -e {0}
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
- 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
|
||||||
- run: pnpm install
|
- run: devenv shell pnpm install
|
||||||
- run: pnpm lint
|
- run: devenv shell pnpm lint
|
||||||
- run: pnpm build
|
- run: devenv shell pnpm build
|
||||||
- run: pnpm test:unit
|
- run: devenv shell pnpm test:unit
|
||||||
- run: pnpm test:e2e
|
- run: devenv shell pnpm test:e2e
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue