This repository has been archived by the owner on Aug 5, 2024. It is now read-only.
feat(getUser): add mattermostInfo and email service info on getUser a… #8085
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
name: Node.js CI | |
on: [push] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [14.x, 16.x] | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Setup PostgreSQL | |
uses: Harmon758/[email protected] | |
with: | |
postgresql db: postgres | |
postgresql user: postgres | |
postgresql password: postgres | |
- run: npm install | |
- run: npm run build --if-present | |
- run: npm run test | |
env: | |
CI: true | |
FEATURE_SHOULD_SEND_MESSAGE_TO_AUTHOR: true | |
NEWSLETTER_HASH_SECRET: fakenewslettersecret | |
SHOULD_SEND_NL: true | |
OVH_APP_KEY: fakeovhkey | |
OVH_APP_SECRET: fakeovhsecret | |
OVH_CONSUMER_KEY: fakeconsumerkey | |
SESSION_SECRET: fakesessionsecret | |
CHAT_WEBHOOK_URL_SECRETARIAT: https://example.com | |
CHAT_WEBHOOK_URL_GENERAL: https://example.com | |
CHAT_WEBHOOK_URL_DINUM: https://example.com | |
MATTERMOST_BOT_TOKEN: faketoken | |
MATTERMOST_INVITE_ID: fakeid | |
MAIL_PASS: fakepass | |
MAIL_USER: fakeuser | |
MAIL_SENDER: fake@localhost | |
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres | |
HOSTNAME: localhost | |
HASH_SALT: fakesaltfortestenv |