Corrected angry mammoth size (to what Raoul believes is the right size) #165
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: build | |
on: | |
push: | |
permissions: | |
contents: write | |
jobs: | |
goreleaser: | |
runs-on: ubuntu-latest | |
steps: | |
- id: checkout | |
name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- id: go-setup | |
name: Set up Go | |
uses: actions/setup-go@v5 | |
with: | |
go-version: '1.22' | |
- id: build-backend | |
name: Run GoReleaser | |
uses: goreleaser/goreleaser-action@v5 | |
with: | |
args: release --clean --snapshot | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
- id: upload-backend-artifacts | |
name: Upload assets | |
uses: actions/upload-artifact@v3 | |
with: | |
name: berryhunterd | |
path: dist/* | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: '20.x' | |
- id: build-frontend | |
working-directory: frontend | |
run: npm install && npm run build | |
- id: upload-frontend-artifacts | |
name: Upload assets | |
uses: actions/upload-artifact@v3 | |
with: | |
name: frontend | |
path: frontend/dist/* |