From 8baef636d348d1f90a78c2fd4f41515f2ef39ba2 Mon Sep 17 00:00:00 2001 From: tlylt Date: Fri, 15 Apr 2022 08:56:30 +0800 Subject: [PATCH 1/2] Update steps in CI test --- .github/workflows/ci.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 1c9c5bfd8c..5924e8ca1b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -23,6 +23,13 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '12' + - name: Install Graphviz + uses: tlylt/install-graphviz@v1 + - name: Install Java + - uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' - run: npm i -g npm@8.3.1 - run: npm run setup - run: npm run test From 4972df0d1892e99265832c4d92faeda5855024f8 Mon Sep 17 00:00:00 2001 From: tlylt Date: Fri, 15 Apr 2022 09:00:53 +0800 Subject: [PATCH 2/2] Update build step --- .github/workflows/ci.yml | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5924e8ca1b..6f93870e42 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -26,10 +26,10 @@ jobs: - name: Install Graphviz uses: tlylt/install-graphviz@v1 - name: Install Java - - uses: actions/setup-java@v3 + uses: actions/setup-java@v3 with: java-version: '11' - distribution: 'temurin' + distribution: 'temurin' - run: npm i -g npm@8.3.1 - run: npm run setup - run: npm run test @@ -46,6 +46,13 @@ jobs: - uses: actions/setup-node@v2 with: node-version: '12' + - name: Install Graphviz + uses: tlylt/install-graphviz@v1 + - name: Install Java + uses: actions/setup-java@v3 + with: + java-version: '11' + distribution: 'temurin' - run: npm i -g npm@8.3.1 - run: npm run setup - name: Deploy DG on any commit to master, to markbind.org/devdocs