From 0b8ec28b667cc7dbf2bfbdfd8cc6da254fc7a3af Mon Sep 17 00:00:00 2001 From: Seth Vargo Date: Tue, 30 Nov 2021 17:06:48 -0500 Subject: [PATCH] Run `run ci` instead of `npm install` in release please (#407) 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 fc03030b..0d566449 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