Skip to content

add try catch if call to grist fails #604

add try catch if call to grist fails

add try catch if call to grist fails #604

Workflow file for this run

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.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 test
env:
CI: true
OVH_ROOM_APP_KEY: aaaaaaaaa
OVH_ROOM_APP_SECRET: bbbbbbbbb
OVH_ROOM_CONSUMER_KEY: ccccccccc
OVH_ROOM_ACCOUNT_NUMBER: dddddddd
OVH_ROOM_PHONE_NUMBER: 0033122334455
MAIL_PASS: fakepass
MAIL_SERVICE: debug
MAIL_USER: fakeuser
MAIL_SENDER_EMAIL: [email protected]
SECRET: fakesessionsecret
ENCRYPT_SECRET: un_secret_avec_exactement_64_bit
FEATURE_WEB_ACCESS: true
OIDC_ACR_VALUES: eidas1
DATABASE_URL: postgres://postgres:postgres@localhost:5432/postgres
AFTER_MEETING_SURVEY_URL: https://startupdetat.typeform.com/to/R5uC1b0k