From f7345ad4cc00255f436beb6356f2703653636293 Mon Sep 17 00:00:00 2001 From: xBoyMinemc <86919167+xBoyMinemc@users.noreply.github.com> Date: Mon, 4 Nov 2024 21:49:22 +0800 Subject: [PATCH] Update node.js.yml --- .github/workflows/node.js.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.github/workflows/node.js.yml b/.github/workflows/node.js.yml index 61af524..3c2cdc5 100644 --- a/.github/workflows/node.js.yml +++ b/.github/workflows/node.js.yml @@ -16,8 +16,11 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: '16' # 根据需要设置 Node.js 的版本 + node-version: 'latest' + - name: Install TypeScript + run: npm install typescript@latest + - name: Install dependencies run: npm i