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:
parent
867a8a4e8d
commit
b62b955f4d
7
.github/workflows/publish-new-version.yaml
vendored
7
.github/workflows/publish-new-version.yaml
vendored
@ -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
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user