Skip to content

Commit

Permalink
fix: install mocha in the github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
trunekm committed Jun 2, 2021
1 parent 39553dd commit 7ff4736
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/treetracker-wallet-api-test-e2e.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: 12
- name: Install mocha
run: npm install -g mocha
- run: npm ci
- run: ${{ secrets.DEVELOPMENT_ENV }} NODE_TLS_REJECT_UNAUTHORIZED='0' mocha --config ./__tests__/e2e/.mocharc.js
- run: ${{ secrets.DEVELOPMENT_ENV }} node -e "console.log('env password:%s, database:%s, database_schema:%s, username:%s, host:%s, port:%s',process.env.DB_PASSWORD && process.env.DB_PASSWORD.replace(/\w/g,'x'), process.env.DB_NAME, process.env.DB_SCHEMA, process.env.DB_HOST, process.env.DB_USERNAME, process.env.DB_PORT )"

0 comments on commit 7ff4736

Please sign in to comment.