feat: add chatwoot, replace discord as main help link #3869
Workflow file for this run
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: CI | |
on: [push, pull_request] | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- run: npm ci | |
- run: npm run lint | |
- run: npm run prettier:check | |
- run: npm run test | |
- run: npm run tsc | |
e2e: | |
timeout-minutes: 60 | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: lts/* | |
- name: Start regtest | |
env: | |
COMPOSE_PROFILES: ci | |
run: | | |
git submodule init | |
git submodule update | |
chmod -R 777 regtest | |
cd regtest | |
./start.sh | |
- name: Install dependencies | |
run: npm ci | |
- name: Install Playwright Browsers | |
run: npm run playwright:install | |
- name: Run Playwright tests | |
env: | |
CI: true | |
run: npm run test:e2e | |
- uses: actions/upload-artifact@v4 | |
if: always() | |
with: | |
name: playwright-report | |
path: playwright-report/ | |
retention-days: 30 |