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