From bc467e4dd97f079fdceda7af87f6e820a4719c6d Mon Sep 17 00:00:00 2001 From: "Navy.gif" Date: Mon, 1 Apr 2024 13:27:47 +0300 Subject: [PATCH] Define test workflow --- .gitea/workflows/Tests.yaml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 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..5478471 --- /dev/null +++ b/.gitea/workflows/Tests.yaml @@ -0,0 +1,26 @@ +on: + push: + branches: + - '*' + - '!master' + +jobs: + tests: + name: Tests + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v4 + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: latest + registry-url: https://registry.corgi.wtf + cache: yarn + - name: Install deps + run: yarn install + - name: Lint project + run: yarn run eslint src/ + - name: Build project + run: yarn build + env: + CI: false \ No newline at end of file