From 907ed6a4b7693c7b96c773db104615a4a35fa040 Mon Sep 17 00:00:00 2001 From: Fascinated Date: Wed, 29 Mar 2023 18:48:29 +0100 Subject: [PATCH] tests --- .gitea/workflows/tests.yaml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .gitea/workflows/tests.yaml diff --git a/.gitea/workflows/tests.yaml b/.gitea/workflows/tests.yaml new file mode 100644 index 0000000..94d594c --- /dev/null +++ b/.gitea/workflows/tests.yaml @@ -0,0 +1,23 @@ +name: Node.js CI + +on: + push: + branches: [main] + pull_request: + branches: [main] + +jobs: + build: + runs-on: ubuntu-latest + strategy: + matrix: + node-version: [18.x] + + steps: + - uses: actions/checkout@v3 + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v3 + with: + node-version: ${{ matrix.node-version }} + - run: npm run build --if-present + - run: npm test