mirror of
https://github.com/sipeed/picoclaw.git
synced 2026-06-12 18:08:54 +00:00
ea2107e8a9
- add a dedicated build-release-artifacts target for Android bundle packaging - switch CI and release workflows to Corepack-managed pnpm with cache support - pin the frontend pnpm version and make dependency installs deterministic - inject version metadata into launcher binaries in GoReleaser - update build documentation to reflect the new workflow
31 lines
580 B
YAML
31 lines
580 B
YAML
name: build
|
|
|
|
on:
|
|
push:
|
|
branches: [ "main" ]
|
|
|
|
jobs:
|
|
build:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
|
|
- name: Setup Go
|
|
uses: actions/setup-go@v6
|
|
with:
|
|
go-version-file: go.mod
|
|
|
|
- name: Setup Node.js
|
|
uses: actions/setup-node@v6
|
|
with:
|
|
node-version: 22
|
|
cache: pnpm
|
|
cache-dependency-path: web/frontend/pnpm-lock.yaml
|
|
|
|
- name: Setup pnpm
|
|
run: corepack enable && corepack install
|
|
|
|
- name: Build
|
|
run: make build-all
|