mirror of
https://github.com/jambonz/next-static-site.git
synced 2026-01-25 02:08:03 +00:00
fix cannot build with react 18 by yarn (#100)
This commit is contained in:
8
.github/workflows/main.yml
vendored
8
.github/workflows/main.yml
vendored
@@ -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
|
||||
Reference in New Issue
Block a user