Skip to content

Improve build.mjs

Improve build.mjs #11

Workflow file for this run

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: actions/setup-node@v3
with:
cache: npm
node-version: '*'
- run: npm ci
- run: npm run build
build-pnpm:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
submodules: recursive
- uses: pnpm/action-setup@v2
with:
version: '*'
- uses: actions/setup-node@v3
with:
cache: pnpm
node-version: '*'
- run: pnpm install
- run: pnpm build
on:
pull_request:
branches:
- main
push:
branches:
- main
workflow_dispatch:
permissions: {}