From bc7b19257469c8029b46f45ac99ecc11156c8b2d Mon Sep 17 00:00:00 2001 From: Graham Christensen Date: Thu, 12 Oct 2023 11:19:09 -0400 Subject: [PATCH] Update the action to use node20 (#41) * Update nixpkgs to unstable, and nodejs to latest * Upgrade the action to use node20 --- action.yml | 2 +- flake.lock | 12 +++++++----- flake.nix | 4 ++-- 3 files changed, 10 insertions(+), 8 deletions(-) diff --git a/action.yml b/action.yml index 84d9abe..9908836 100644 --- a/action.yml +++ b/action.yml @@ -106,6 +106,6 @@ inputs: default: "true" runs: - using: "node16" + using: "node20" main: 'dist/index.js' post: 'dist/index.js' \ No newline at end of file diff --git a/flake.lock b/flake.lock index f0b4756..7860819 100644 --- a/flake.lock +++ b/flake.lock @@ -2,6 +2,7 @@ "nodes": { "flake-schemas": { "locked": { + "lastModified": 1693491534, "narHash": "sha256-ifw8Td8kD08J8DxFbYjeIx5naHcDLz7s2IFP3X42I/U=", "rev": "c702cbb663d6d70bbb716584a2ee3aeb35017279", "revCount": 21, @@ -15,15 +16,16 @@ }, "nixpkgs": { "locked": { - "narHash": "sha256-g7nIUV4uq1TOVeVIDEZLb005suTWCUjSY0zYOlSBsyE=", - "rev": "32dcb45f66c0487e92db8303a798ebc548cadedc", - "revCount": 491340, + "lastModified": 1696879762, + "narHash": "sha256-Ud6bH4DMcYHUDKavNMxAhcIpDGgHMyL/yaDEAVSImQY=", + "rev": "f99e5f03cc0aa231ab5950a15ed02afec45ed51a", + "revCount": 534224, "type": "tarball", - "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.2305.491340%2Brev-32dcb45f66c0487e92db8303a798ebc548cadedc/018aebfc-faf0-743e-aeb4-28acf5a64d95/source.tar.gz" + "url": "https://api.flakehub.com/f/pinned/NixOS/nixpkgs/0.1.534224%2Brev-f99e5f03cc0aa231ab5950a15ed02afec45ed51a/018b1d3c-12f0-76a5-b796-7668d7633f08/source.tar.gz" }, "original": { "type": "tarball", - "url": "https://flakehub.com/f/NixOS/nixpkgs/%2A.tar.gz" + "url": "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz" } }, "root": { diff --git a/flake.nix b/flake.nix index e62a6ad..7fdb54f 100644 --- a/flake.nix +++ b/flake.nix @@ -4,7 +4,7 @@ inputs = { flake-schemas.url = "https://flakehub.com/f/DeterminateSystems/flake-schemas/*.tar.gz"; - nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/*.tar.gz"; + nixpkgs.url = "https://flakehub.com/f/NixOS/nixpkgs/0.1.0.tar.gz"; }; outputs = { self, flake-schemas, nixpkgs }: @@ -20,7 +20,7 @@ devShells = forEachSupportedSystem ({ pkgs }: { default = pkgs.mkShell { packages = with pkgs; [ - nodejs-18_x + nodejs_latest nixpkgs-fmt ]; };