From 906793acfb75e3867ebeca2efe9a52b6bcc44601 Mon Sep 17 00:00:00 2001 From: Yiming Date: Sun, 31 Mar 2024 13:38:57 -0700 Subject: [PATCH] Create build.yml --- .github/workflows/build.yml | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .github/workflows/build.yml diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml new file mode 100644 index 0000000..c44bf32 --- /dev/null +++ b/.github/workflows/build.yml @@ -0,0 +1,24 @@ +name: CI + +env: + DO_NOT_TRACK: '1' + +on: + push: + branches: ['main'] + pull_request: + branches: ['main'] + +jobs: + build: + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js 20.x + uses: actions/setup-node@v3 + with: + node-version: 20.x + cache: 'npm' + - run: npm ci + - run: npm run build