Skip to content

Commit

Permalink
feat:add envs to ci.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
zuies committed May 10, 2023
1 parent 41ed3ae commit 8c63197
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,20 @@ jobs:
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
env:
ENV_FILE: test.env
with:
node-version: ${{ matrix.node }}
env:
NODE_ENV: ${{ secrets.NODE_ENV }}
DB_HOST: ${{ secrets.DB_HOST }}
DB_PORT: ${{ secrets.DB_PORT }}
DB_USER: ${{ secrets.DB_USER }}
DB_PASSWORD: ${{ secrets.DB_PASSWORD }}
DB_NAME: ${{ secrets.DB_NAME }}
DISCORD_CLIENT_ID: ${{ secrets.DISCORD_CLIENT_ID }}
DISCORD_CLIENT_SECRET: ${{ secrets.DISCORD_CLIENT_SECRET }}
DISCORD_BOT_TOKEN: ${{ secrets.DISCORD_BOT_TOKEN }}
SENTRY_DSN: ${{ secrets.SENTRY_DSN }}
SENTRY_ENV: ${{ secrets.SENTRY_ENV }}
- run: npm install
- run: npm run test
- run: npm run lint
Expand Down

0 comments on commit 8c63197

Please sign in to comment.