Move certain properties to environment variables from conf.json5

This commit is contained in:
zkldi
2021-10-23 01:11:36 +01:00
parent d7bfe9e9df
commit bbd8e686aa
8 changed files with 47 additions and 50 deletions
+4 -29
View File
@@ -40,6 +40,10 @@ jobs:
- name: Run Tests
run: pnpm test
env:
PORT: 8080
MONGO_URL: "127.0.0.1"
REDIS_URL: "127.0.0.1"
- name: Lint Code
run: pnpm lint
@@ -49,32 +53,3 @@ jobs:
run: |
pnpm install -g codecov
cat coverage/lcov.info | codecov
# deploy:
# if: ${{ github.ref == 'master' }}
# needs: test
# name: Deploy
# runs-on: ubuntu-latest
# steps:
# - name: Checkout Code
# uses: actions/checkout@v2
# - name: Install Node.js 15
# uses: actions/setup-node@v2
# with:
# node-version: 15.x
# - name: Install PNPM
# uses: pnpm/action-setup@v2.0.1
# with:
# version: 6.0.2
# # configure external dbs
# - uses: supercharge/mongodb-github-action@1.4.1
# - uses: supercharge/redis-github-action@1.1.0
# - name: Install Dependencies
# run: pnpm i
# # for the time being, disable lint checking.
# # - name: Lint Code
# # run: pnpm lint