1
0
mirror of https://github.com/Unleash/unleash.git synced 2025-04-24 01:18:01 +02:00

do not test again when creting version from github actions (#2639)

This commit is contained in:
Mateusz Kwasniewski 2022-12-09 09:30:16 +01:00 committed by GitHub
parent 867a8a4e8d
commit b62b955f4d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,5 @@
name: Run npm version and push tags name: Run npm version and push tags
concurrency: concurrency:
group: ${{ github.workflow }}-${{ github.ref }} group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true cancel-in-progress: true
@ -33,9 +32,10 @@ jobs:
options: >- options: >-
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
steps: steps:
- uses: actions/checkout@v2 - uses: actions/checkout@v2
with: with:
token: ${{ secrets.GH_PUSH_TOKEN }} token: ${{ secrets.GH_PUSH_TOKEN }}
- name: setup git config - name: setup git config
run: | run: |
@ -49,7 +49,7 @@ jobs:
- run: yarn install --frozen-lockfile --ignore-scripts - run: yarn install --frozen-lockfile --ignore-scripts
- name: npm version - name: npm version
run: | run: |
npm version ${{ github.event.inputs.version }} npm version ${{ github.event.inputs.version }} --ignore-scripts
git push origin main git push origin main
git push --tags git push --tags
env: env:
@ -58,4 +58,3 @@ jobs:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
NODE_ENV: test NODE_ENV: test
PORT: 4243 PORT: 4243