From 47ea3974243a4203cb8bccc9c5ecca38385d0640 Mon Sep 17 00:00:00 2001 From: Hunter Date: Sun, 8 Sep 2019 00:08:01 -0400 Subject: [PATCH] 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