From 9dfeaf28b3c3134aadf4fda9c22fe242f3dc8286 Mon Sep 17 00:00:00 2001 From: Krukon Date: Fri, 21 Aug 2026 13:55:33 +0200 Subject: [PATCH] chore: migrate CI to mise-action, add mise.lock Declares node 24.18.1 in mise.toml (matches action.yml's node24 runtime and package.json engines >=24), replaces actions/setup-node in release.yml with step-security/mise-action, and gitignores the generated .github/actions.lock.yaml. --- .github/workflows/release.yml | 7 ++----- .gitignore | 3 ++- mise.lock | 33 +++++++++++++++++++++++++++++++++ mise.toml | 2 ++ 4 files changed, 39 insertions(+), 6 deletions(-) create mode 100644 mise.lock create mode 100644 mise.toml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 07b7283..cc8a616 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -35,11 +35,8 @@ jobs: fetch-depth: 0 persist-credentials: false - - name: setup node - uses: actions/setup-node@a0853c24544627f65ddf259abe73b1d18a591444 # v5.0.0 - with: - node-version-file: package.json - cache: npm + - name: setup mise + uses: step-security/mise-action@2796166110dee826668caddd4bffedae5116e7cd # v4.2.0 - name: install deps run: npm ci --ignore-scripts diff --git a/.gitignore b/.gitignore index b512c09..3d24282 100644 --- a/.gitignore +++ b/.gitignore @@ -1 +1,2 @@ -node_modules \ No newline at end of file +node_modules +.github/actions.lock.yaml \ No newline at end of file diff --git a/mise.lock b/mise.lock new file mode 100644 index 0000000..048b6e9 --- /dev/null +++ b/mise.lock @@ -0,0 +1,33 @@ +# @generated - this file is auto-generated by `mise lock` https://mise.jdx.dev/dev-tools/mise-lock.html + +[[tools.node]] +version = "24.18.1" +backend = "core:node" + +[tools.node."platforms.linux-arm64"] +checksum = "sha256:df224555a083b918e46260cc969838501b9f9a87140c1195e5b9597b56d5dae2" +url = "https://nodejs.org/dist/v24.18.1/node-v24.18.1-linux-arm64.tar.gz" + +[tools.node."platforms.linux-arm64-musl"] +checksum = "sha256:ae1b6457edb875fd98130b37c853e51a53ac0cc40850ecccd490b61c5a3558fa" +url = "https://unofficial-builds.nodejs.org/download/release/v24.18.1/node-v24.18.1-linux-arm64-musl.tar.gz" + +[tools.node."platforms.linux-x64"] +checksum = "sha256:9f5eb6ac21845a66c493c91a253b1da32fd684e89e9b7202d4936982336be4ca" +url = "https://nodejs.org/dist/v24.18.1/node-v24.18.1-linux-x64.tar.gz" + +[tools.node."platforms.linux-x64-musl"] +checksum = "sha256:696979caef92505ad7566a3674ca9a93d8558e282f34e7899181c0321821ae5f" +url = "https://unofficial-builds.nodejs.org/download/release/v24.18.1/node-v24.18.1-linux-x64-musl.tar.gz" + +[tools.node."platforms.macos-arm64"] +checksum = "sha256:eb02f7fab96d3d67de40c5ec8566096fcb4c2026728787683ae5a97eb612b941" +url = "https://nodejs.org/dist/v24.18.1/node-v24.18.1-darwin-arm64.tar.gz" + +[tools.node."platforms.macos-x64"] +checksum = "sha256:6fb20fceacbb157c2f95825b80df4a454a0f6d81cdcd7bb81eeae9147e0e76ec" +url = "https://nodejs.org/dist/v24.18.1/node-v24.18.1-darwin-x64.tar.gz" + +[tools.node."platforms.windows-x64"] +checksum = "sha256:ec56b84a7551893ab2324ebdfdc4ab974a63b4781162600b68a1293cc3e53765" +url = "https://nodejs.org/dist/v24.18.1/node-v24.18.1-win-x64.zip" diff --git a/mise.toml b/mise.toml new file mode 100644 index 0000000..1f50312 --- /dev/null +++ b/mise.toml @@ -0,0 +1,2 @@ +[tools] +node = "24.18.1"