Canary Workflow #256
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: bedrock | |
- name: Test | |
run: wing test | |
working-directory: bedrock | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: checks | |
- name: Test | |
run: wing test | |
working-directory: checks | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: fifoqueue | |
- name: Test | |
run: wing test | |
working-directory: fifoqueue | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: github | |
- name: Test | |
run: wing test | |
working-directory: github | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: ngrok | |
- name: Test | |
run: wing test | |
working-directory: ngrok | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: postgres | |
- name: Test | |
run: wing test | |
working-directory: postgres | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: redis | |
- name: Test | |
run: wing test | |
working-directory: redis | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: sagemaker | |
- name: Test | |
run: wing test | |
working-directory: sagemaker | |
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 | |
run: npm i -g winglang | |
- name: Install dependencies | |
run: npm install --include=dev | |
working-directory: websockets | |
- name: Test | |
run: wing test | |
working-directory: websockets |