GH actions

pull/508/head
hunterlong 2020-04-16 12:36:38 -07:00
parent eab8c19181
commit 0184698bca
1 changed files with 9 additions and 8 deletions

View File

@ -3,11 +3,18 @@ on:
push:
branches:
- master
paths-ignore:
- '**.md'
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v2
with:
path: ./src/github.com/${{ github.repository }}
- name: Install Go
uses: actions/setup-go@v1
with:
@ -17,17 +24,11 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: Checkout code
uses: actions/checkout@v2
with:
path: ./src/github.com/${{ github.repository }}
- run: npm install -g yarn sass newman cross-env wait-on @sentry/cli
- name: Frontend Dependencies
working-directory: ./frontend
run: |
npm install -g yarn sass newman cross-env wait-on @sentry/cli
yarn
run: yarn
- name: Build Statping
run: |