From 912d75c0f0975865263b65b4657799d1c110e20f Mon Sep 17 00:00:00 2001 From: hunterlong Date: Thu, 16 Apr 2020 12:43:14 -0700 Subject: [PATCH] GH actions --- .github/workflows/build.yml | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index b4c57f4c..f1f3c2dc 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -7,7 +7,7 @@ on: - '**.md' jobs: - build: + build-binary: runs-on: ubuntu-latest steps: - name: Checkout code @@ -19,16 +19,17 @@ jobs: uses: actions/setup-go@v1 with: go-version: '1.14.x' + run: | + go mod download + go mod verify - name: Install Node uses: actions/setup-node@v1 with: node-version: '10.x' - - run: npm install -g yarn sass newman cross-env wait-on @sentry/cli - - - name: Frontend Dependencies - working-directory: ./frontend - run: yarn + run: | + npm install -g yarn sass newman cross-env wait-on @sentry/cli + cd frontend && yarn && yarn build - name: Build Statping run: |