diff --git a/.github/workflows/deploy-api.yml b/.github/workflows/deploy-api.yml index 2d6e73b..dc17064 100644 --- a/.github/workflows/deploy-api.yml +++ b/.github/workflows/deploy-api.yml @@ -8,7 +8,7 @@ on: jobs: deploy: runs-on: ubuntu-latest - name: Deploy + name: Cloudflare Workers steps: - uses: actions/checkout@v4 diff --git a/.github/workflows/deploy-app.yml b/.github/workflows/deploy-app.yml new file mode 100644 index 0000000..6e8646e --- /dev/null +++ b/.github/workflows/deploy-app.yml @@ -0,0 +1,32 @@ +name: 🚀 Deploy APP + +on: + push: + branches: + - next + +jobs: + build: + runs-on: self-hosted + strategy: + matrix: + node-version: [20] + steps: + - uses: actions/checkout@v4 + + - name: Install pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 + + - name: Use Node.js ${{ matrix.node-version }} + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node-version }} + cache: 'pnpm' + + - name: Install dependencies + run: pnpm install + + - name: Build + run: pnpm build