mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 21:55:52 +02:00
@@ -0,0 +1,32 @@
|
||||
{
|
||||
"title": "pixel.horse CI",
|
||||
"contactEmail": "[email protected]",
|
||||
"port": 8090,
|
||||
"adminPort": 8091,
|
||||
"host": "http://localhost:8090/",
|
||||
"local": "localhost:8090",
|
||||
"adminLocal": "localhost:8091",
|
||||
"secret": "pixel",
|
||||
"token": "horse",
|
||||
"db": "mongodb://pixel:horse@mongo:27017/pixelhorse",
|
||||
"oauth": {
|
||||
"google": {
|
||||
"clientID": "snake",
|
||||
"clientSecret": "oil"
|
||||
}
|
||||
},
|
||||
"assetsPath": "assets-source",
|
||||
"servers": [
|
||||
{
|
||||
"id": "ci",
|
||||
"port": 8090,
|
||||
"path": "/s00/ws",
|
||||
"local": "localhost:8090",
|
||||
"name": "CI test server",
|
||||
"desc": "GitHub Actions checking in",
|
||||
"flags": {
|
||||
"test": false
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
@@ -0,0 +1,4 @@
|
||||
#!/usr/bin/env bash
|
||||
mkdir "${HOME}/.npm"
|
||||
npm config set prefix "${HOME}/.npm"
|
||||
npm install -g gulp
|
||||
@@ -0,0 +1,30 @@
|
||||
name: Push Checks
|
||||
on: push
|
||||
|
||||
jobs:
|
||||
lint:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: install gulp
|
||||
run: bash .github/ci-install-gulp.sh
|
||||
- run: npm ci
|
||||
- name: write config.json
|
||||
run: cp .github/ci-config.json config.json
|
||||
- run: npm run lint
|
||||
build:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@v1
|
||||
with:
|
||||
node-version: '12.x'
|
||||
- name: install gulp
|
||||
run: bash .github/ci-install-gulp.sh
|
||||
- run: npm ci
|
||||
- name: write config.json
|
||||
run: cp .github/ci-config.json config.json
|
||||
- run: npm run build
|
||||
Reference in New Issue
Block a user