Canary Workflow #6866
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Canary Workflow | |
on: | |
schedule: | |
- cron: 0 * * * * | |
workflow_dispatch: {} | |
jobs: | |
canary-bedrock: | |
name: Test bedrock | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: bedrock | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd bedrock && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd bedrock | |
wing test | |
timeout_minutes: 5 | |
canary-budget: | |
name: Test budget | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: budget | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd budget && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd budget | |
wing test | |
timeout_minutes: 5 | |
canary-checks: | |
name: Test checks | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: checks | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd checks && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd checks | |
wing test | |
timeout_minutes: 5 | |
canary-cloudv2: | |
name: Test cloudv2 | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: cloudv2 | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd cloudv2 && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd cloudv2 | |
wing test | |
timeout_minutes: 5 | |
canary-dynamodb: | |
name: Test dynamodb | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: dynamodb | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd dynamodb && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd dynamodb | |
./test.sh | |
timeout_minutes: 5 | |
canary-email: | |
name: Test email | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: email | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd email && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd email | |
wing test | |
timeout_minutes: 5 | |
canary-eventbridge: | |
name: Test eventbridge | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: eventbridge | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd eventbridge && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd eventbridge | |
wing test | |
timeout_minutes: 5 | |
canary-fifoqueue: | |
name: Test fifoqueue | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: fifoqueue | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd fifoqueue && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd fifoqueue | |
wing test | |
timeout_minutes: 5 | |
canary-github: | |
name: Test github | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: github | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd github && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd github | |
wing test | |
timeout_minutes: 5 | |
canary-jwt: | |
name: Test jwt | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: jwt | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd jwt && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd jwt | |
wing test | |
timeout_minutes: 5 | |
canary-k8s: | |
name: Test k8s | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: k8s | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd k8s && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd k8s | |
./test.sh | |
timeout_minutes: 5 | |
canary-lock: | |
name: Test lock | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: lock | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd lock && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd lock | |
wing test | |
timeout_minutes: 5 | |
canary-messagefanout: | |
name: Test messagefanout | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: messagefanout | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd messagefanout && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd messagefanout | |
wing test | |
timeout_minutes: 5 | |
canary-momento: | |
name: Test momento | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: momento | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd momento && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd momento | |
wing test | |
timeout_minutes: 5 | |
canary-ngrok: | |
name: Test ngrok | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: ngrok | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd ngrok && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd ngrok | |
wing test | |
timeout_minutes: 5 | |
canary-openai: | |
name: Test openai | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: openai | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd openai && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd openai | |
wing test | |
timeout_minutes: 5 | |
canary-postgres: | |
name: Test postgres | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: postgres | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd postgres && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd postgres | |
wing test | |
timeout_minutes: 5 | |
canary-react: | |
name: Test react | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: react | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd react && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd react | |
./test.sh | |
timeout_minutes: 5 | |
canary-redis: | |
name: Test redis | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: redis | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd redis && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd redis | |
wing test | |
timeout_minutes: 5 | |
canary-sagemaker: | |
name: Test sagemaker | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: sagemaker | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd sagemaker && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd sagemaker | |
wing test | |
timeout_minutes: 5 | |
canary-ses: | |
name: Test ses | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: ses | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd ses && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd ses | |
wing test | |
timeout_minutes: 5 | |
canary-simtools: | |
name: Test simtools | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: simtools | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd simtools && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd simtools | |
wing test | |
timeout_minutes: 5 | |
canary-slack: | |
name: Test slack | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: slack | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd slack && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd slack | |
wing test | |
timeout_minutes: 5 | |
canary-sns: | |
name: Test sns | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: sns | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd sns && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd sns | |
wing test | |
timeout_minutes: 5 | |
canary-tf: | |
name: Test tf | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: tf | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd tf && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd tf | |
wing test | |
timeout_minutes: 5 | |
canary-tsoa: | |
name: Test tsoa | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: tsoa | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd tsoa && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd tsoa | |
wing test | |
timeout_minutes: 5 | |
canary-vite: | |
name: Test vite | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: vite | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd vite && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd vite | |
wing test | |
timeout_minutes: 5 | |
canary-websockets: | |
name: Test websockets | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
with: | |
sparse-checkout: websockets | |
- name: Setup Node.js | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 20.x | |
registry-url: https://registry.npmjs.org | |
- name: Install winglang and dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: npm i -g winglang --loglevel verbose | |
timeout_minutes: 3 | |
- name: Install dependencies | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: cd websockets && npm i --include=dev --loglevel verbose | |
timeout_minutes: 3 | |
- name: Run tests | |
uses: nick-fields/retry@v3 | |
with: | |
max_attempts: 3 | |
command: |- | |
cd websockets | |
wing test | |
timeout_minutes: 5 |