From eb96c81e2b8361db95c514ef00eb5d77ce593d71 Mon Sep 17 00:00:00 2001 From: alesancor1 Date: Sat, 25 Sep 2021 13:38:17 +0200 Subject: [PATCH] fix: set prerelease version before npm install --- .github/workflows/nodejs.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/nodejs.yaml b/.github/workflows/nodejs.yaml index 53b7804..bd3d699 100644 --- a/.github/workflows/nodejs.yaml +++ b/.github/workflows/nodejs.yaml @@ -53,8 +53,8 @@ jobs: with: node-version: '14.x' registry-url: 'https://registry.npmjs.org' - - run: npm install - run: npm version prerelease -m "Governify Commons version %s released" + - run: npm install - run: npm publish env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}