mirror of
https://github.com/spacebarchat/server.git
synced 2024-11-21 09:52:38 +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:
|
||||
build:
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
node-version: [20.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
|
2
.github/workflows/style.yml
vendored
2
.github/workflows/style.yml
vendored
@ -13,7 +13,7 @@ jobs:
|
||||
|
||||
strategy:
|
||||
matrix:
|
||||
node-version: [18.x]
|
||||
node-version: [20.x]
|
||||
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
|
||||
|
||||
steps:
|
||||
|
@ -66,10 +66,7 @@
|
||||
runtimeInputs = with pkgs; [
|
||||
prefetch-npm-deps
|
||||
nix
|
||||
bash
|
||||
jq
|
||||
git
|
||||
nix-output-monitor
|
||||
];
|
||||
text = ''
|
||||
nix flake update --extra-experimental-features 'nix-command flakes'
|
||||
@ -77,9 +74,6 @@
|
||||
TMPFILE=$(mktemp)
|
||||
jq '.npmDepsHash = "'"$DEPS_HASH"'"' hashes.json > "$TMPFILE"
|
||||
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