commit
a5ab40bed4
|
@ -0,0 +1,13 @@
|
|||
name: tests
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
test:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '14.x'
|
||||
- run: npm install
|
||||
- run: npm test
|
|
@ -0,0 +1,2 @@
|
|||
/node_modules
|
||||
/package-lock.json
|
|
@ -31,4 +31,4 @@ services:
|
|||
- MYSQL_PASSWORD=${DATABASE_PASSWORD}
|
||||
volumes:
|
||||
- /portainer/Files/AppData/Bookstack/DB:/config
|
||||
restart: unless-stopped
|
||||
restart: unless-stopped
|
||||
|
|
|
@ -3654,4 +3654,4 @@
|
|||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
]
|
||||
|
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
"name": "selfhosted_templates",
|
||||
"version": "1.0.0",
|
||||
"description": "Portainer Templates for Selfhosted Projects/Homelabs.",
|
||||
"private": true,
|
||||
"devDependencies": {
|
||||
"jsonlint": "^1.6.3",
|
||||
"yaml-validator": "^3.0.0"
|
||||
},
|
||||
"scripts": {
|
||||
"pretest": "jsonlint Template/template.json --quiet",
|
||||
"test": "yaml-validator Template/Stack/*"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/SelfhostedPro/selfhosted_templates.git"
|
||||
},
|
||||
"author": "Qballjos",
|
||||
"license": "GPLv3"
|
||||
}
|
Loading…
Reference in New Issue