This is an automated email from the ASF dual-hosted git repository.

wangzx pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/echarts-doc.git


The following commit(s) were added to refs/heads/master by this push:
     new 04335d6b chore: update workflow deps
04335d6b is described below

commit 04335d6b85f7bfd12840376ddb0345a6f04d9496
Author: plainheart <y...@all-my-life.cn>
AuthorDate: Sat Feb 3 09:44:47 2024 +0800

    chore: update workflow deps
---
 .github/workflows/nodejs.yml | 17 ++++++++---------
 1 file changed, 8 insertions(+), 9 deletions(-)

diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml
index a9dcf45b..0a92f683 100644
--- a/.github/workflows/nodejs.yml
+++ b/.github/workflows/nodejs.yml
@@ -10,19 +10,18 @@ jobs:
 
     runs-on: ubuntu-latest
 
-    strategy:
-      matrix:
-        node-version: [12.x]
-
     steps:
-      - uses: actions/checkout@v2
-      - name: Use Node.js ${{ matrix.node-version }}
-        uses: actions/setup-node@v2
+      - uses: actions/checkout@v4
+
+      - uses: actions/setup-node@v4
         with:
-          node-version: ${{ matrix.node-version }}
-      - name: npm install and build
+          node-version: 18
+          registry-url: https://registry.npmjs.org/
+
+      - name: Build
         run: |
           npm install
+          npm run build:site
           node build.js --env dev
         env:
           CI: true


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@echarts.apache.org
For additional commands, e-mail: commits-h...@echarts.apache.org

Reply via email to