mirror of
https://github.com/Unleash/unleash.git
synced 2025-01-11 00:08:30 +01:00
Update publish-new-version.yaml
This commit is contained in:
parent
6f38f408b6
commit
e378f904bd
21
.github/workflows/publish-new-version.yaml
vendored
21
.github/workflows/publish-new-version.yaml
vendored
@ -19,6 +19,20 @@ jobs:
|
|||||||
matrix:
|
matrix:
|
||||||
node-version: [14.x]
|
node-version: [14.x]
|
||||||
|
|
||||||
|
services:
|
||||||
|
# Label used to access the service container
|
||||||
|
postgres:
|
||||||
|
# Docker Hub image
|
||||||
|
image: postgres
|
||||||
|
# Provide the password for postgres
|
||||||
|
env:
|
||||||
|
POSTGRES_PASSWORD: postgres
|
||||||
|
# Set health checks to wait until postgres has started
|
||||||
|
ports:
|
||||||
|
- 5432:5432
|
||||||
|
options: >-
|
||||||
|
--health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
@ -30,3 +44,10 @@ jobs:
|
|||||||
- name: npm version
|
- name: npm version
|
||||||
run: |
|
run: |
|
||||||
npm version ${{ github.event.inputs.version }}
|
npm version ${{ github.event.inputs.version }}
|
||||||
|
env:
|
||||||
|
CI: true
|
||||||
|
TEST_DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
|
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
|
||||||
|
NODE_ENV: test
|
||||||
|
PORT: 4243
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user