This commit is contained in:
parent
f0f5832514
commit
3cc8fd3b2a
1 changed files with 3 additions and 16 deletions
|
@ -10,25 +10,12 @@ 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
|
||||
- name: Install devenv.sh
|
||||
run: |
|
||||
nix \
|
||||
--extra-experimental-features nix-command \
|
||||
--extra-experimental-features flakes \
|
||||
profile install nixpkgs#devenv --priority 4
|
||||
- uses: cachix/install-nix-action@v31
|
||||
- run: nix profile install nixpkgs#devenv
|
||||
- uses: rharkor/caching-for-turbo@v1.8
|
||||
- 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 build
|
||||
- run: devenv shell pnpm test:unit
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue