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