feat: support-actions (#758)

Co-authored-by: sealday <sealday@gmail.com>
Reviewed-on: daoyoucloud/tachybase#758
This commit is contained in:
sealday 2024-04-19 08:19:40 +08:00
parent 78f75f8254
commit de36bdaed7
2 changed files with 27 additions and 6 deletions

View 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

View File

@ -96,10 +96,5 @@
"@types/node": "^20.12.2" "@types/node": "^20.12.2"
} }
}, },
"licenses": [ "licenses": "Apache-2.0"
{
"type": "Apache-2.0",
"url": "https://www.apache.org/licenses/LICENSE-2.0"
}
]
} }