From 475328830a13392e06c35bcd4b5942b4107480e1 Mon Sep 17 00:00:00 2001 From: john Date: Thu, 16 Jul 2026 21:29:51 +0800 Subject: [PATCH] ci: remove external action dependencies --- .gitea/workflows/ci.yml | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/.gitea/workflows/ci.yml b/.gitea/workflows/ci.yml index 8d7b75a..dafcee1 100644 --- a/.gitea/workflows/ci.yml +++ b/.gitea/workflows/ci.yml @@ -24,13 +24,12 @@ jobs: steps: - name: Check out exact commit - uses: actions/checkout@v4 - - - name: Use Node.js 24 - uses: actions/setup-node@v4 - with: - node-version: 24 - cache: npm + run: | + git init . + git remote add origin https://git.tkmind.cn/tkmind/memind.git + git fetch --depth=1 origin "${{ gitea.sha }}" + git checkout --detach FETCH_HEAD + test "$(git rev-parse HEAD)" = "${{ gitea.sha }}" - name: Install locked dependencies run: npm ci