mirror of https://github.com/statping/statping
GH actions
parent
0184698bca
commit
912d75c0f0
|
@ -7,7 +7,7 @@ on:
|
||||||
- '**.md'
|
- '**.md'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build-binary:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Checkout code
|
- name: Checkout code
|
||||||
|
@ -19,16 +19,17 @@ jobs:
|
||||||
uses: actions/setup-go@v1
|
uses: actions/setup-go@v1
|
||||||
with:
|
with:
|
||||||
go-version: '1.14.x'
|
go-version: '1.14.x'
|
||||||
|
run: |
|
||||||
|
go mod download
|
||||||
|
go mod verify
|
||||||
|
|
||||||
- name: Install Node
|
- name: Install Node
|
||||||
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
|
run: |
|
||||||
|
npm install -g yarn sass newman cross-env wait-on @sentry/cli
|
||||||
- name: Frontend Dependencies
|
cd frontend && yarn && yarn build
|
||||||
working-directory: ./frontend
|
|
||||||
run: yarn
|
|
||||||
|
|
||||||
- name: Build Statping
|
- name: Build Statping
|
||||||
run: |
|
run: |
|
||||||
|
|
Loading…
Reference in New Issue