mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2025-02-03 16:12:49 +00:00
Add a CI workflow to run the app deployment test
This commit is contained in:
parent
bb8e7759ab
commit
9e1c0f6142
27
.github/workflows/test-app-deployment.yaml
vendored
Normal file
27
.github/workflows/test-app-deployment.yaml
vendored
Normal 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
|
Loading…
Reference in New Issue
Block a user