hotfix(build): missing dependencies failing aws amplify deployment #29
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: | |
branches: '*' | |
pull_request: | |
branches: '*' | |
jobs: | |
release: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [20] | |
steps: | |
- name: ποΈ Checkout Code | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 # All history for branches and tags | |
- name: π Install Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: latest | |
- name: π Install Dependencies | |
run: bun install | |
- name: ποΈ Build Project | |
env: | |
DATABASE_URL: ${{ secrets.DATABASE_URL }} | |
NEXTAUTH_URL: ${{ secrets.NEXTAUTH_URL }} | |
GOOGLE_CLIENT_ID: ${{ secrets.GOOGLE_CLIENT_ID }} | |
GOOGLE_CLIENT_SECRET: ${{ secrets.GOOGLE_CLIENT_SECRET }} | |
run: bun run --bun build | |
- name: π° Profit | |
run: echo π |