*: restructuring to make testing flow nicer
All checks were successful
Basic Checking / Explore-Gitea-Actions (push) Successful in 50s
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:
parent
281945a672
commit
ef4e816dac
12 changed files with 10 additions and 5 deletions
|
@ -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 }}."
|
||||
|
|
0
express/package-lock.json → package-lock.json
generated
0
express/package-lock.json → package-lock.json
generated
|
@ -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",
|
Loading…
Reference in a new issue