From 4b244e93cd1ef8a24e71132b62ce5254682540a8 Mon Sep 17 00:00:00 2001 From: taolin Date: Sun, 30 Apr 2023 04:17:13 +0800 Subject: [PATCH] flow --- .gitea/workflows/build.yaml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .gitea/workflows/build.yaml diff --git a/.gitea/workflows/build.yaml b/.gitea/workflows/build.yaml new file mode 100644 index 0000000..3ef4778 --- /dev/null +++ b/.gitea/workflows/build.yaml @@ -0,0 +1,20 @@ +name: checks +on: + - push + - pull_request + +jobs: + lint: + name: check and test + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - name: Use Node.js + uses: actions/setup-node@v2 + with: + node-version: "14" + run: node -v + - name: Install dependencies + run: npm install + - name: Build + run: npm run build