*: restructuring to make testing flow nicer
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 50s

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2023-09-26 15:06:01 -04:00
parent 281945a672
commit ef4e816dac
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
12 changed files with 10 additions and 5 deletions

View file

@ -12,8 +12,12 @@ jobs:
- name: Check out repository code - name: Check out repository code
uses: actions/checkout@v3 uses: actions/checkout@v3
- run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner." - run: echo "💡 The ${{ gitea.repository }} repository has been cloned to the runner."
- run: echo "🖥️ The workflow is now ready to test your code on the runner." - name: Setup Node.js
- name: List files in the repository uses: actions/setup-node@v3
run: | with:
ls ${{ gitea.workspace }} node-version: 18.x
- name: Install packages
run: npm install
- name: Run tests
run: npm test
- run: echo "🍏 This job's status is ${{ job.status }}." - run: echo "🍏 This job's status is ${{ job.status }}."

View file

@ -5,7 +5,8 @@
"main": "server.js", "main": "server.js",
"scripts": { "scripts": {
"test": "jest", "test": "jest",
"start": "node server.js" "start": "node server.js",
"act": "act -W ./.gitea/workflows/"
}, },
"repository": { "repository": {
"type": "git", "type": "git",