From 2178d83348ee012477e45afbf1a21b5c5eb43040 Mon Sep 17 00:00:00 2001 From: Hunter Date: Sun, 8 Sep 2019 00:07:03 -0400 Subject: [PATCH 1/4] Actions: create ci-config.json --- .github/ci-config.json | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 .github/ci-config.json diff --git a/.github/ci-config.json b/.github/ci-config.json new file mode 100644 index 0000000..6b9044a --- /dev/null +++ b/.github/ci-config.json @@ -0,0 +1,32 @@ +{ + "title": "Pixel Horse CI", + "contactEmail": "noreply@pony.dev", + "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 + } + } + ] +} From 705de5f1c381aff8304055127042bdd4ebf99ac2 Mon Sep 17 00:00:00 2001 From: Hunter Date: Sun, 8 Sep 2019 00:07:37 -0400 Subject: [PATCH 2/4] Actions: create ci-install-gulp.sh --- .github/ci-install-gulp.sh | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 .github/ci-install-gulp.sh diff --git a/.github/ci-install-gulp.sh b/.github/ci-install-gulp.sh new file mode 100644 index 0000000..2cd48fe --- /dev/null +++ b/.github/ci-install-gulp.sh @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +mkdir "${HOME}/.npm" +npm config set prefix "${HOME}/.npm" +npm install -g gulp From 47ea3974243a4203cb8bccc9c5ecca38385d0640 Mon Sep 17 00:00:00 2001 From: Hunter Date: Sun, 8 Sep 2019 00:08:01 -0400 Subject: [PATCH 3/4] Actions: lint and build jobs --- .github/workflows/push.yml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 .github/workflows/push.yml diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml new file mode 100644 index 0000000..34272fe --- /dev/null +++ b/.github/workflows/push.yml @@ -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 From a6f703fb3759cfd5ad7c95090dbe5c5b80daf213 Mon Sep 17 00:00:00 2001 From: Hunter <8601934+judge2020@users.noreply.github.com> Date: Sun, 8 Sep 2019 00:23:35 -0400 Subject: [PATCH 4/4] Actions: align branding --- .github/ci-config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/ci-config.json b/.github/ci-config.json index 6b9044a..fccc887 100644 --- a/.github/ci-config.json +++ b/.github/ci-config.json @@ -1,5 +1,5 @@ { - "title": "Pixel Horse CI", + "title": "pixel.horse CI", "contactEmail": "noreply@pony.dev", "port": 8090, "adminPort": 8091,