Merge pull request #30 from LuisMSuarez/LuisMSuarez-patch-1 #8
This file contains hidden or 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 with Bun | |
| on: | |
| push: | |
| pull_request: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v3 | |
| - name: Install Bun | |
| run: | | |
| curl -fsSL https://bun.sh/install | bash | |
| echo "$HOME/.bun/bin" >> $GITHUB_PATH | |
| - name: Install dependencies | |
| run: bun install | |
| - name: Build | |
| run: bun run build | |
| - name: Upload client artifact for deployment job | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: client-app | |
| path: packages/client/dist | |
| - name: Upload server artifact for deployment job | |
| uses: actions/upload-artifact@v4 | |
| with: | |
| name: server-app | |
| path: packages/server/dist |