Skip to content

chore(deps): update pnpm to v9 - autoclosed #194

chore(deps): update pnpm to v9 - autoclosed

chore(deps): update pnpm to v9 - autoclosed #194

Workflow file for this run

name: Check
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- name: Install
run: pnpm i
- name: Lint
run: pnpm run lint
typecheck:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- uses: actions/setup-node@v3
with:
node-version: 18.x
cache: pnpm
- name: Install
run: pnpm i
- name: TypeCheck
run: pnpm run type-check
build:
runs-on: ${{ matrix.os }}
timeout-minutes: 10
strategy:
matrix:
node_version: [18.x]
os: [ubuntu-latest, windows-latest]
build_cmd: [build, 'build:mp-weixin', 'build:app']
fail-fast: false
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v2
- name: Set node version to ${{ matrix.node_version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node_version }}
cache: pnpm
- name: Install
run: pnpm i
- name: Build
run: pnpm run ${{ matrix.build_cmd }}