tachybase_todo/.gitea/workflows/on_pr.yaml
sealday de36bdaed7 feat: support-actions (#758)
Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#758
2024-04-19 08:19:40 +08:00

27 lines
538 B
YAML

name: PR Workflow
on:
pull_request:
branches:
- dev
permissions:
contents: write
jobs:
CI:
runs-on: ubuntu-latest
container: node:20
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: config registry
run: npm config set registry https://npm.daoyoucloud.com/
- name: install pnpm
uses: pnpm/action-setup@v3
with:
standalone: true
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build:p