Kaynağa Gözat

[action]Update node-version

dufu1991 2 yıl önce
ebeveyn
işleme
3c9ae4355e

+ 1 - 1
.github/workflows/build-demo.yml

@@ -24,7 +24,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       - name: Setup Python environment
       - name: Setup Python environment
         uses: actions/setup-python@v2
         uses: actions/setup-python@v2

+ 1 - 1
.github/workflows/format-review.yml

@@ -17,7 +17,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       - name: Install dependencies
       - name: Install dependencies
         run: npm install
         run: npm install

+ 1 - 1
.github/workflows/publish-create.yml

@@ -23,7 +23,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       # 将 LICENSE 复制到 packages/create-stdf 目录下
       # 将 LICENSE 复制到 packages/create-stdf 目录下
       # cd packages/create-stdf 目录下
       # cd packages/create-stdf 目录下

+ 1 - 1
.github/workflows/publish-icon.yml

@@ -23,7 +23,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       # 将 LICENSE 复制到 packages/rollup-plugin-stdf-icon 目录下
       # 将 LICENSE 复制到 packages/rollup-plugin-stdf-icon 目录下
       # cd packages/rollup-plugin-stdf-icon 目录下
       # cd packages/rollup-plugin-stdf-icon 目录下

+ 1 - 1
.github/workflows/publish-stdf.yml

@@ -23,7 +23,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       # 将 README.md 和 LICENSE 复制到 packages/stdf 目录下
       # 将 README.md 和 LICENSE 复制到 packages/stdf 目录下
       - name: Copy Files
       - name: Copy Files

+ 1 - 1
.github/workflows/publish-vscode.yml

@@ -20,7 +20,7 @@ jobs:
       - name: Setup Node.js environment
       - name: Setup Node.js environment
         uses: actions/setup-node@v3
         uses: actions/setup-node@v3
         with:
         with:
-          node-version: 18.x
+          node-version: 20.x
 
 
       # cd 到 packages/vscode-extension 目录
       # cd 到 packages/vscode-extension 目录
       # 执行 files
       # 执行 files