From d0bb3d07d5edcab5b56653b1564c31ead7d32620 Mon Sep 17 00:00:00 2001 From: Chan Yu Cheng Date: Sat, 25 Mar 2023 10:48:52 +0800 Subject: [PATCH 1/2] Update node version from 14 to 16 --- .github/workflows/fork-build.yml | 4 ++-- .github/workflows/fork-preview.yml | 2 +- .github/workflows/unpublish-preview.yml | 2 +- action.yml | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/fork-build.yml b/.github/workflows/fork-build.yml index 8c4535d..30c30f2 100644 --- a/.github/workflows/fork-build.yml +++ b/.github/workflows/fork-build.yml @@ -29,7 +29,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Install Graphviz run: sudo apt-get install graphviz - name: Install Java @@ -46,7 +46,7 @@ jobs: - name: Install markbind-cli@master if: inputs.version == 'development' run: | - npm i -g npm@8.3.1 + npm i -g npm@8.19.3 cd markbind-cli npm run setup && npm run build:web cd packages/cli diff --git a/.github/workflows/fork-preview.yml b/.github/workflows/fork-preview.yml index 80ad266..1c08d48 100644 --- a/.github/workflows/fork-preview.yml +++ b/.github/workflows/fork-preview.yml @@ -31,7 +31,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Build PR preview url id: pr-url run: | diff --git a/.github/workflows/unpublish-preview.yml b/.github/workflows/unpublish-preview.yml index 0c6b7ec..115cdff 100644 --- a/.github/workflows/unpublish-preview.yml +++ b/.github/workflows/unpublish-preview.yml @@ -20,7 +20,7 @@ jobs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Build PR preview url id: pr-url run: | diff --git a/action.yml b/action.yml index bfcb1f8..be151c5 100644 --- a/action.yml +++ b/action.yml @@ -50,7 +50,7 @@ runs: - name: Install Node uses: actions/setup-node@v2 with: - node-version: 14 + node-version: 16 - name: Checkout markbind-cli@master if: inputs.version == 'development' uses: actions/checkout@v3 @@ -60,7 +60,7 @@ runs: - name: Install markbind-cli@master if: inputs.version == 'development' run: | - npm i -g npm@8.3.1 + npm i -g npm@8.19.3 cd markbind-cli npm run setup && npm run build:web cd packages/cli From 2d6d58a8ae5058ebe10ba77c56e0c38c11bef596 Mon Sep 17 00:00:00 2001 From: Chan Yu Cheng Date: Tue, 28 Mar 2023 18:11:28 +0800 Subject: [PATCH 2/2] Remove npm install --- .github/workflows/fork-build.yml | 1 - action.yml | 1 - 2 files changed, 2 deletions(-) diff --git a/.github/workflows/fork-build.yml b/.github/workflows/fork-build.yml index 30c30f2..47a728c 100644 --- a/.github/workflows/fork-build.yml +++ b/.github/workflows/fork-build.yml @@ -46,7 +46,6 @@ jobs: - name: Install markbind-cli@master if: inputs.version == 'development' run: | - npm i -g npm@8.19.3 cd markbind-cli npm run setup && npm run build:web cd packages/cli diff --git a/action.yml b/action.yml index be151c5..373347e 100644 --- a/action.yml +++ b/action.yml @@ -60,7 +60,6 @@ runs: - name: Install markbind-cli@master if: inputs.version == 'development' run: | - npm i -g npm@8.19.3 cd markbind-cli npm run setup && npm run build:web cd packages/cli