add ai concepts section #10861
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: Test | |
on: | |
pull_request: | |
branches: [main, next-release/main] | |
types: [opened, synchronize] | |
env: | |
BUILD_DIR: 'client/www/next-build' | |
jobs: | |
build: | |
name: Build | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout Repo | |
uses: actions/checkout@a5ac7e51b41094c92402da3b24376905380afc29 # v4.1.6 | |
- name: Setup Node.js 20.x | |
uses: actions/setup-node@39370e3970a6d050c480ffad4ff0ed4d3fdee5af # v4.1.0 | |
with: | |
node-version: 20.x | |
- name: Install Dependencies | |
run: yarn | |
- name: Run tests | |
run: yarn prebuild && yarn test:unit | |
- name: Run Build | |
run: yarn build | |
env: | |
NODE_OPTIONS: --max_old_space_size=4096 | |
- name: Run site | |
run: | | |
python -m http.server 3000 -d ${{ env.BUILD_DIR }} & | |
sleep 5 | |
- name: Run E2E Tests | |
run: yarn test:e2e |