mirror of
https://github.com/snowball-tools/snowballtools-base.git
synced 2025-01-10 22:28:05 +00:00
28 lines
637 B
YAML
28 lines
637 B
YAML
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
|