Skip to content

typo

typo #316

Workflow file for this run

name: github
on:
push:
branches:
- 'main'
pull_request:
branches:
- '**'
workflow_dispatch:
jobs:
test:
environment: Production
runs-on: ubuntu-latest
steps:
- 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