mirror of
https://github.com/jambonz/next-static-site.git
synced 2025-12-19 04:47:44 +00:00
0.9.1 release notes (#92)
* 0.9.1 release notes * update preact * wip * wip * typo
This commit is contained in:
21
.github/workflows/main.yml
vendored
21
.github/workflows/main.yml
vendored
@@ -12,14 +12,25 @@ on:
|
||||
jobs:
|
||||
test:
|
||||
environment: Production
|
||||
# Available tools on this machine:
|
||||
# https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Setup and Install
|
||||
- uses: actions/checkout@v4
|
||||
- name: Setup Node.js
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20'
|
||||
- name: Cache node modules
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: node_modules
|
||||
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
|
||||
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
|
||||
- name: Build and Start Next.js
|
||||
run: yarn build && (yarn start&) > /dev/null
|
||||
- name: Run Tests
|
||||
run: yarn test
|
||||
run: yarn test
|
||||
Reference in New Issue
Block a user