ci: fix failing tests
Some checks failed
Test / Test (push) Failing after 13s

This commit is contained in:
Kim, Jimin 2025-06-01 13:45:11 +09:00
parent f0f5832514
commit 3cc8fd3b2a
Signed by: pomp
GPG key ID: D3932F82A0667A3B

View file

@ -10,25 +10,12 @@ jobs:
test: test:
name: Test name: Test
runs-on: docker runs-on: docker
container:
image: ghcr.io/cachix/devenv/devenv:latest
steps: steps:
- run: nix-env -i nodejs
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install devenv.sh - uses: cachix/install-nix-action@v31
run: | - run: nix profile install nixpkgs#devenv
nix \ - uses: rharkor/caching-for-turbo@v1.8
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
profile install nixpkgs#devenv --priority 4
- run: devenv shell pnpm install - run: devenv shell pnpm install
- run: | # https://github.com/oxc-project/oxc/issues/1690#issuecomment-1858814377
nix \
--extra-experimental-features nix-command \
--extra-experimental-features flakes \
run nixpkgs#patchelf -- \
--set-interpreter "$(nix eval nixpkgs#stdenv.cc.bintools.dynamicLinker --raw)" \
/workspace/pomp/pompy.dev/node_modules/@oxlint/linux-x64-gnu/oxlint
- run: devenv shell pnpm lint - run: devenv shell pnpm lint
- run: devenv shell pnpm build - run: devenv shell pnpm build
- run: devenv shell pnpm test:unit - run: devenv shell pnpm test:unit