1
0
mirror of https://github.com/spacebarchat/server.git synced 2024-11-21 09:52:38 +01:00

GHA updates

This commit is contained in:
Emma [it/its]@Rory& 2024-11-17 20:58:31 +01:00
parent 3640464978
commit 2e333e1b87
3 changed files with 2 additions and 9 deletions

View File

@ -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:

View File

@ -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:

View File

@ -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
''; '';
}; };
}; };