-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(Github action):Update node.js.yml by add other environment vari…
…ables
- Loading branch information
1 parent
53b742d
commit e55ef00
Showing
3 changed files
with
5 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,21 @@ | ||
# This workflow will install node dependencies, run tests and report coverage | ||
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs | ||
|
||
name: build | ||
|
||
on: | ||
push: | ||
branches: | ||
- develop | ||
- feat-test-CI-implementation-187419042 | ||
|
||
pull_request: | ||
branches: | ||
- develop | ||
- feat-test-CI-implementation-187419042 | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
env: | ||
DB_DIALECT: postgres | ||
DB_TEST_URL: ${{ secrets.DB_TEST_URL }} | ||
DEV_MODE: ${{ secrets.DEV_MODE }} | ||
DB_HOSTED_MODE: ${{ secrets.DB_HOSTED_MODE }} | ||
|
@@ -35,14 +33,8 @@ jobs: | |
cache: "npm" | ||
- name: Install dependencies | ||
run: npm install | ||
|
||
- name: Print DB_TEST_URL | ||
run: | | ||
echo "DB_TEST_URL: ${{ secrets.DB_TEST_URL }}" | ||
- name: Run tests and build test coverage | ||
run: npm run test:ci | ||
|
||
- name: Test & publish code coverage | ||
uses: paambaati/[email protected] | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters