mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-21 18:02:33 +01:00
GHA updates
This commit is contained in:
parent
3640464978
commit
2e333e1b87
3
.github/workflows/build.yml
vendored
3
.github/workflows/build.yml
vendored
@ -8,12 +8,11 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x]
|
node-version: [20.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
|||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
node-version: [18.x]
|
node-version: [20.x]
|
||||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
@ -66,10 +66,7 @@
|
|||||||
runtimeInputs = with pkgs; [
|
runtimeInputs = with pkgs; [
|
||||||
prefetch-npm-deps
|
prefetch-npm-deps
|
||||||
nix
|
nix
|
||||||
bash
|
|
||||||
jq
|
jq
|
||||||
git
|
|
||||||
nix-output-monitor
|
|
||||||
];
|
];
|
||||||
text = ''
|
text = ''
|
||||||
nix flake update --extra-experimental-features 'nix-command flakes'
|
nix flake update --extra-experimental-features 'nix-command flakes'
|
||||||
@ -77,9 +74,6 @@
|
|||||||
TMPFILE=$(mktemp)
|
TMPFILE=$(mktemp)
|
||||||
jq '.npmDepsHash = "'"$DEPS_HASH"'"' hashes.json > "$TMPFILE"
|
jq '.npmDepsHash = "'"$DEPS_HASH"'"' hashes.json > "$TMPFILE"
|
||||||
mv -- "$TMPFILE" hashes.json
|
mv -- "$TMPFILE" hashes.json
|
||||||
|
|
||||||
nom build .# --extra-experimental-features 'nix-command flakes' || exit $?
|
|
||||||
git add hashes.json flake.lock flake.nix
|
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user