From ac0ae715accb75740421ba42a1a8139bafcc027b Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 30 Nov 2021 16:22:58 -0500 Subject: [PATCH] Run `run ci` instead of `npm install` in release please This should ensure the lockfile doesn't change --- .github/workflows/release-please.yml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index fc03030ba..0d5664497 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -9,12 +9,16 @@ jobs: build: runs-on: ubuntu-latest steps: - - uses: actions/checkout@v2 - - run: git pull - - name: install - run: npm install - - name: build - run: npm run build + - uses: 'actions/checkout@v2' + with: + fetch-depth: '0' + - uses: 'actions/setup-node@v2' + with: + node-version: '12.x' + - name: 'npm ci' + run: 'npm ci' + - name: 'npm build' + run: 'npm run build' - name: commit run: |- set -e