Skip to content

smoke-test

smoke-test #64

Workflow file for this run

name: smoke-test
on:
# Always run smoke tests upon a successful
# "ci" job completion on "main".
workflow_run:
workflows: ['ci']
branches: [main]
types: [completed]
workflow_dispatch:
jobs:
examples:
if: ${{ (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') || github.event_name == 'workflow_dispatch' }}
runs-on: macos-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
- name: Set up PNPM
uses: pnpm/action-setup@v2
with:
version: 7.12
- name: Install dependencies
run: pnpm install
- name: Test examples
run: ./config/scripts/smoke-test.sh