Tried to make a workflow

This commit was merged in pull request #6.
This commit is contained in:
2023-08-31 20:29:12 +02:00
parent 4209edf31e
commit a83cc7d8c6

34
.gitea/workflows/test.yml Normal file
View File

@@ -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"