Skip to content

Commit

Permalink
Merge pull request #34 from rainlanguage/2024-08-06-update-dotrain
Browse files Browse the repository at this point in the history
bump dotrain dependency
  • Loading branch information
rouzwelt authored Aug 6, 2024
2 parents cdf1bd7 + 1933158 commit dd88883
Show file tree
Hide file tree
Showing 8 changed files with 1,098 additions and 742 deletions.
9 changes: 3 additions & 6 deletions .github/workflows/manual-vscode-pre-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ jobs:
fetch-depth: 0
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Install NodeJS v21
- name: Install NodeJS v22
uses: actions/setup-node@v4
with:
node-version: 21
node-version: 22
cache: 'npm'

- name: Install Deps
run: nix run .#install
run: npm install

- name: Build Prod
run: npm run build-prod
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/manual-vscode-release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,17 +11,14 @@ jobs:
fetch-depth: 0
submodules: recursive

- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Install NodeJS v21
- name: Install NodeJS v22
uses: actions/setup-node@v4
with:
node-version: 21
node-version: 22
cache: 'npm'

- name: Install Deps
run: nix run .#install
run: npm install

- name: Build Prod
run: npm run build-prod
Expand Down
9 changes: 3 additions & 6 deletions .github/workflows/rainix.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,14 @@ jobs:
steps:
- uses: actions/checkout@v4

- uses: DeterminateSystems/nix-installer-action@v4
- uses: DeterminateSystems/magic-nix-cache-action@v2

- name: Install NodeJS v21
- name: Install NodeJS v22
uses: actions/setup-node@v4
with:
node-version: 21
node-version: 22
cache: 'npm'

- name: Install Deps
run: nix run .#install
run: npm install

- name: Build Prod
run: npm run build-prod
Expand Down
22 changes: 1 addition & 21 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -10,31 +10,11 @@
let
pkgs = rainix.pkgs.${system};
in rec {
packages = {
install = rainix.mkTask.${system} {
name = "install";
body = ''
set -euxo pipefail
npm install
'';
additionalBuildInputs = [
pkgs.wasm-bindgen-cli
rainix.rust-toolchain.${system}
rainix.rust-build-inputs.${system}
rainix.node-build-inputs.${system}
];
};
};

# For `nix develop`:
devShell = pkgs.mkShell {
nativeBuildInputs = [
rainix.rust-toolchain.${system}
rainix.rust-build-inputs.${system}
rainix.node-build-inputs.${system}
] ++ (with pkgs; [
wasm-bindgen-cli
]);
];
};
}
);
Expand Down
Loading

0 comments on commit dd88883

Please sign in to comment.