Skip to content

Merge pull request #2 from s-h-a-d-o-w/dependabot/npm_and_yarn/next-1… #20

Merge pull request #2 from s-h-a-d-o-w/dependabot/npm_and_yarn/next-1…

Merge pull request #2 from s-h-a-d-o-w/dependabot/npm_and_yarn/next-1… #20

Workflow file for this run

name: Deployment
on:
push:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install pnpm
uses: pnpm/action-setup@v4
with:
version: 9
- name: Use Node.js
uses: actions/setup-node@v4
with:
node-version: 22
- name: Install, test, deploy
run: |
pnpm install --frozen-lockfile
pnpm test
sh deploy.sh
env:
CAPROVER_PASSWORD: ${{ secrets.CAPROVER_PASSWORD }}
CAPROVER_MACHINE_01: ${{ secrets.CAPROVER_MACHINE_01 }}
CAPROVER_MACHINE_02: ${{ secrets.CAPROVER_MACHINE_02 }}
CI: true