*: restructuring to make testing flow nicer #8

Merged
vbatts merged 1 commit from restructure into main 2023-09-26 19:09:38 +00:00
12 changed files with 10 additions and 5 deletions

View file

@ -12,8 +12,12 @@ jobs:
- name: Check out repository code
uses: actions/checkout@v3
- 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: List files in the repository
run: |
ls ${{ gitea.workspace }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
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 }}."

View file

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