fix cannot build with react 18 by yarn (#100)

This commit is contained in:
Hoan Luu Huu
2024-10-23 18:24:39 +07:00
committed by GitHub
parent d908448457
commit 3478906024
3 changed files with 1161 additions and 31 deletions

View File

@@ -27,10 +27,8 @@ jobs:
restore-keys: |
${{ runner.os }}-node-
- name: Install Dependencies
run: yarn install
- name: Update Preact Render to String
run: yarn add preact-render-to-string@^6.5.0
run: npm install
- name: Build and Start Next.js
run: yarn build && (yarn start&) > /dev/null
run: npm run build && (npm run start&) > /dev/null
- name: Run Tests
run: yarn test
run: npm run test