Skip to content

Commit

Permalink
deps(workspace): update flake lock (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
dominicegginton authored Dec 30, 2023
1 parent e72c528 commit b07fedb
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 8 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,16 +15,12 @@ jobs:
- uses: actions/checkout@v3
with:
fetch-depth: 0
- uses: actions/checkout@v3
- uses: DeterminateSystems/nix-installer-action@main
- uses: DeterminateSystems/magic-nix-cache-action@main
- uses: DeterminateSystems/flake-checker-action@main
- run: nix develop
- uses: actions/setup-node@v3
with:
node-version: lts/*
- uses: nrwl/nx-set-shas@v3
- run: clean-install
- run: nix develop
- run: nix run .#utils.x86_64-linux.clean-install
- run: nix fmt && git diff --exit-code
- run: npx nx affected --target=lint --parallel=3
- run: npx nx affected --targets=build,build:storybook --parallel=3
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,10 @@ npm ci && npx playwright install --with-deps
<details>
<summary>NIX</summary>

If you are using [NIX](https://nixos.org/) use the `[clean-install](https://github.com/arup-group/arc-components/blob/main/flake.nix#L19-L31)` deerivation:
If you are using [NIX](https://nixos.org/) use the `clean-install` deerivation:

```sh
clean-install
nix run .#utils.[host platform].clean-install
```

</details>
Expand Down
2 changes: 2 additions & 0 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,8 @@
in {
formatter = formatter;

utils.clean-install = clean-install;

devShells.default = pkgs.mkShell {
packages = with pkgs; [
nodejs
Expand Down

0 comments on commit b07fedb

Please sign in to comment.