Skip to content

Readymade 3.1.0

Readymade 3.1.0 #245

Workflow file for this run

name: Test and Deploy
on:
push:
branches: [main]
pull_request:
branches: [main]
jobs:
cypress-run:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/[email protected]
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: '20'
- name: Enable Corepack
run: corepack enable
- name: Install Yarn
run: corepack prepare [email protected] --activate
- name: Install Dependencies
run: yarn install --immutable
- name: Run Lint
run: yarn lint
- name: Check Format
run: yarn pretty:check
- name: Cypress
uses: cypress-io/[email protected]
with:
build: yarn build
start: yarn serve
wait-on: http://localhost:4444
- name: Clean
run: yarn clean:dist
- name: Build
run: yarn build:client
- name: Deploy to GitHub Pages
uses: peaceiris/actions-gh-pages@v3
with:
github_token: '${{ secrets.GITHUB_TOKEN }}'
publish_dir: ./dist/client