mirror of
https://github.com/Terncode/pixel.horse.git
synced 2026-09-24 13:55:04 +02:00
Since Pony Town requires Node 9 (and Node 10 seems to work), may as well do this now while we wait for tests to be fixed
31 lines
784 B
YAML
31 lines
784 B
YAML
name: Push Checks
|
|
on: [push, pull_request]
|
|
|
|
jobs:
|
|
lint:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/checkout@master
|
|
- uses: actions/setup-node@v1
|
|
with:
|
|
node-version: '10.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: '10.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
|