fix: move thumbnail fonts to server side #3554
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: Lint and test | |
on: | |
pull_request: | |
push: | |
branches: | |
- main | |
jobs: | |
lint: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- run: | | |
npm install ci | |
- name: "Checking lint/format errors" | |
run: | | |
npm run lint | |
- name: "Checking type errors" | |
run: | | |
npm run check | |
test: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
services: | |
mongodb: | |
image: mongo:6.0.5 | |
ports: | |
- 27017:27017 | |
steps: | |
- uses: actions/checkout@v3 | |
- uses: actions/setup-node@v3 | |
with: | |
node-version: "20" | |
cache: "npm" | |
- run: | | |
npm ci | |
- name: "Tests" | |
run: | | |
npm run test | |
build-check: | |
runs-on: ubuntu-latest | |
timeout-minutes: 10 | |
steps: | |
- uses: actions/checkout@v3 | |
- name: Build Docker image | |
run: docker build --secret id=DOTENV_LOCAL,src=.env.ci -t chat-ui:latest . |