Skip to content

Commit

Permalink
Use install and make sure build includes the right steps
Browse files Browse the repository at this point in the history
  • Loading branch information
CerealBoy committed Jul 6, 2024
1 parent 41f1b81 commit b3380f1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
node-version: 20
cache: yarn
- name: 'Build Frontend'
run: yarn && yarn build
run: yarn install && yarn build
- name: 'Run Tests'
run: go test -cover -coverprofile=coverage.txt ./...
- name: 'Archive Results'
Expand Down Expand Up @@ -75,13 +75,14 @@ jobs:
with:
go-version: ^1.22
- name: 'Hack Yarn'
run: corepack enable
run: corepack enable && yarn set version 4.3.1
- name: 'Setup Node'
uses: actions/setup-node@v4
with:
node-version: 20
cache: yarn
- name: 'Build Frontend'
run: yarn && yarn build
run: yarn install && yarn build
- name: 'Matrix Binaries'
run: GOOS=${{ matrix.type.os }} GOARCH=${{ matrix.type.arch }} go build -o dist/episodical-${{ matrix.type.arch }}-${{ matrix.type.os }} ./cmd/episodical
- name: 'Archive Binary'
Expand All @@ -90,4 +91,3 @@ jobs:
name: binary-${{ matrix.type.arch }}-${{ matrix.type.os }}
path: dist/episodical-${{ matrix.type.arch }}-${{ matrix.type.os }}


0 comments on commit b3380f1

Please sign in to comment.