From a83cc7d8c67245c4782b61272745330b156897d5 Mon Sep 17 00:00:00 2001 From: Skydust Date: Thu, 31 Aug 2023 20:29:12 +0200 Subject: [PATCH] Tried to make a workflow --- .gitea/workflows/test.yml | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 .gitea/workflows/test.yml diff --git a/.gitea/workflows/test.yml b/.gitea/workflows/test.yml new file mode 100644 index 0000000..22ae8eb --- /dev/null +++ b/.gitea/workflows/test.yml @@ -0,0 +1,34 @@ +# This defines the name of the workflow as it will appear in the "Actions" tab of the Gitea repository. +name: A gitea test + +on: + pull_request: + paths: + - '**.js' + +jobs: + random_test: + name: Random test + + runs-on: ubuntu-latest + + env: + SSH_USER: ${{ secrets.SSH_USER }} + SSH_PASSWORD: ${{ secrets.SSH_PASSWORD }} + + steps: + - name: Check out repo's default branch + uses: actions/checkout@v3 + - name: Setup Node + uses: actions/setup-node@v3 + with: + node-version: 16.13.x + cache: npm + - name: Run the "npm ci" command + run: npm ci + - name: Run the "npm run build" command + run: npm run bullshit:build + - name: Run script + run: | + echo "did the build" +