Skip to content

Try build

Try build #113

Workflow file for this run

name: Try build
on:
push:
branches: [ "main" ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ "main" ]
schedule:
- cron: '15 10 * * 5'
jobs:
build:
name: Try build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- uses: pnpm/action-setup@v2.0.1
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Install depends
run: pnpm run setup
- name: Build "main"
run: pnpm build
- name: "cd ./preview"
run: cd ./preview
- name: Install depends
run: pnpm i
- name: Build "preview"
run: pnpm build