Skip to content

fix(deps): update dependency @testing-library/jest-dom to v6.8.0 (#369) #369

fix(deps): update dependency @testing-library/jest-dom to v6.8.0 (#369)

fix(deps): update dependency @testing-library/jest-dom to v6.8.0 (#369) #369

Workflow file for this run

name: Build & Deploy
on:
push:
branches: [ "main" ]
env:
CI: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- uses: actions/setup-node@v4
with:
node-version: "18.x"
- name: Install modules
run: npm install
- name: Build
run: npm run build
- uses: a7ul/tar-action@v1.2.0
with:
command: c
cwd: "./"
files: |
build/
captain-definition
Dockerfile.production
outPath: deploy.tar
- name: Deploy App to Caprover
uses: caprover/deploy-from-github@v1.1.2
with:
server: ${{ secrets.CAPROVER_SERVER }}
app: ${{ secrets.CAPROVER_APP }}
token: ${{ secrets.CAPROVER_TOKEN }}