Skip to content

Commit

Permalink
add github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexGuo1998 committed Jan 19, 2023
1 parent 059dd6b commit 4158a5b
Showing 1 changed file with 26 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Build

on:
push:
branches: [ "main" ]

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18

- name: Build
run: |-
npm ci
npm run build
- name: Upload artifacts
uses: actions/upload-artifact@v3
with:
name: output-scripts
path: build/

0 comments on commit 4158a5b

Please sign in to comment.