*: 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
|
- 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 }}."
|
||||||
|
|
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",
|
"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",
|
Loading…
Reference in a new issue