Create main.yaml

master
yutent 2023-02-19 14:52:56 +08:00 committed by GitHub
parent b248b441b5
commit 0c934f8df2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 23 additions and 0 deletions

23
.github/workflows/main.yaml vendored Normal file
View File

@ -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