Create main.yaml
parent
b248b441b5
commit
0c934f8df2
|
@ -0,0 +1,23 @@
|
|||
|
||||
name: CI
|
||||
|
||||
on:
|
||||
push:
|
||||
branches: [ "master" ]
|
||||
pull_request:
|
||||
branches: [ "master" ]
|
||||
|
||||
|
||||
|
||||
jobs:
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: 18.10.0
|
||||
|
||||
- name: 安装依赖并编译
|
||||
run: |
|
||||
npm i
|
||||
npm run build
|
Loading…
Reference in New Issue