feat: support-actions (#758)
Co-authored-by: sealday <sealday@gmail.com> Reviewed-on: daoyoucloud/tachybase#758
This commit is contained in:
parent
78f75f8254
commit
de36bdaed7
26
.gitea/workflows/on_pr.yaml
Normal file
26
.gitea/workflows/on_pr.yaml
Normal file
@ -0,0 +1,26 @@
|
||||
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
|
@ -96,10 +96,5 @@
|
||||
"@types/node": "^20.12.2"
|
||||
}
|
||||
},
|
||||
"licenses": [
|
||||
{
|
||||
"type": "Apache-2.0",
|
||||
"url": "https://www.apache.org/licenses/LICENSE-2.0"
|
||||
}
|
||||
]
|
||||
"licenses": "Apache-2.0"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user