8000 Update FUNDING.yml · TNGBBK/ai1@0915553 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Smoke Tests

Smoke Tests #4

Workflow file for this run

name: Smoke Tests
on:
schedule:
# Run the workflow every day at midnight UTC
- cron: '0 0 * * *'
workflow_dispatch: # Allow manual triggering of the workflow
jobs:
main:
runs-on: ubuntu-latest
env:
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }}
steps:
# Checkout the repository
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: pnpm/action-setup@v4
# Set up Node.js with caching for pnpm dependencies
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 20
cache: 'pnpm'
# Install dependencies
- name: Install dependencies
run: pnpm install --frozen-lockfile --child-concurrency=10
# Set commit shas for Nx if needed
- name: Set Nx SHAs
uses: nrwl/nx-set-shas@v4
# Run Nx tasks including the staging deployment and extract the URL.
- name: Run smoke tests
id: checks
run: pnpm nx run-many -t test:smoke
0