This commit is contained in:
parent
4f294031dd
commit
b01f26cb3b
2 changed files with 7 additions and 2 deletions
|
@ -10,8 +10,6 @@ jobs:
|
|||
test:
|
||||
name: Test
|
||||
runs-on: docker
|
||||
container:
|
||||
image: ghcr.io/cachix/devenv/devenv:latest
|
||||
steps:
|
||||
- run: nix-env -i nodejs
|
||||
- uses: actions/checkout@v4
|
||||
|
@ -22,6 +20,10 @@ jobs:
|
|||
--extra-experimental-features flakes \
|
||||
profile install nixpkgs#devenv --priority 4
|
||||
- run: devenv shell pnpm install
|
||||
- run: | # https://github.com/oxc-project/oxc/issues/1690#issuecomment-1858814377
|
||||
nix 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 build
|
||||
- run: devenv shell pnpm test:unit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue