From b62b955f4df6a6ebb49962a97ed466f105f316d1 Mon Sep 17 00:00:00 2001 From: Mateusz Kwasniewski Date: Fri, 9 Dec 2022 09:30:16 +0100 Subject: [PATCH] do not test again when creting version from github actions (#2639) --- .github/workflows/publish-new-version.yaml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/publish-new-version.yaml b/.github/workflows/publish-new-version.yaml index 51c299389e..122787de72 100644 --- a/.github/workflows/publish-new-version.yaml +++ b/.github/workflows/publish-new-version.yaml @@ -1,6 +1,5 @@ name: Run npm version and push tags - concurrency: group: ${{ github.workflow }}-${{ github.ref }} cancel-in-progress: true @@ -33,9 +32,10 @@ jobs: options: >- --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 + steps: - uses: actions/checkout@v2 - with: + with: token: ${{ secrets.GH_PUSH_TOKEN }} - name: setup git config run: | @@ -49,7 +49,7 @@ jobs: - run: yarn install --frozen-lockfile --ignore-scripts - name: npm version run: | - npm version ${{ github.event.inputs.version }} + npm version ${{ github.event.inputs.version }} --ignore-scripts git push origin main git push --tags env: @@ -58,4 +58,3 @@ jobs: DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres NODE_ENV: test PORT: 4243 -