Add a CI workflow to run the app deployment test

This commit is contained in:
Prathamesh Musale 2024-04-11 17:04:05 +05:30
parent bb8e7759ab
commit 9e1c0f6142

View File

@ -0,0 +1,27 @@
name: Test webapp deployment flow
on:
push:
branches:
- main
schedule:
- cron: '0 3 * * *'
jobs:
test_app_deployment:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v3
- name: 'Setup jq'
run: apt-get install jq -y
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn
- name: Test webapp deployment
run: ./packages/deployer/test/test-webapp-deployment.sh