fix: enable ai #301
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: | |
build: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./client | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Use Node.js 20.3.1 | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '20.3.1' | |
- name: Install Dependencies | |
run: npm ci | |
- name: Use specific typescript version | |
run: npm uninstall typescript && npm uninstall -g typescript && npm install [email protected] && npm install -g [email protected] | |
- name: Checking versions | |
run: npm version && tsc -v && npm list typescript | |
- name: Build Packages | |
run: npm run prod-build | |
- name: Run Tests | |
run: npm run test |