From 7f303628e8d9fda7c35ce6ccda93fed4f74b7bc8 Mon Sep 17 00:00:00 2001 From: Noah Gao Date: Tue, 7 Jun 2022 18:37:59 +0800 Subject: [PATCH] ci: fix egg-ci modified files (#102) --- .github/workflows/nodejs.yml | 2 +- .github/workflows/npm-publish.yml | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yml b/.github/workflows/nodejs.yml index 364f3fb..66a386c 100644 --- a/.github/workflows/nodejs.yml +++ b/.github/workflows/nodejs.yml @@ -35,7 +35,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: Install Dependencies - run: npm i -g npminstall && npminstall + run: npm i -g npminstall@5 && npminstall - name: Continuous Integration run: npm run ci diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index f09fa4d..32cf894 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -30,6 +30,8 @@ jobs: # set up git since we will later push to the repo - run: git config --global user.name "Artus Version Bot" - run: git config --global user.email "artusjs-version-bot@example.org" + - run: git status + - run: git diff # upgrade npm version in package.json to the tag used in the release. # upgrade npm version in package.json to the tag used in the release. - run: npm version ${{ github.event.release.tag_name }}