Skip to content

feat: add github ci and build workflows #1

feat: add github ci and build workflows

feat: add github ci and build workflows #1

Workflow file for this run

name: Build
on:
pull_request:
types:
- opened
- synchronize
branches:
- master
push:
branches:
- master
env:
HUSKY: '0'
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number }}
cancel-in-progress: true
permissions:
contents: read
jobs:
post-update:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os:
- ubuntu-latest
# - macos-latest
- windows-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 10
run_install: true
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
cache: pnpm
- name: Build
run: |
pnpm build:antd