Skip to content

feat: astro component and static site #156

feat: astro component and static site

feat: astro component and static site #156

Workflow file for this run

name: Tests
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
workflow_dispatch:
# Ensure only one workflow runs at a time
concurrency:
group: "tests-${{ github.ref }}"
cancel-in-progress: false
jobs:
test:
runs-on: ubuntu-latest
permissions:
id-token: write
contents: read
actions: write
steps:
- uses: actions/checkout@v4
- name: Setup Bun
uses: oven-sh/setup-bun@v1
with:
bun-version: latest
- name: Install dependencies
run: bun install
- name: Check Types
run: bun run check
- name: Configure AWS Credentials
uses: aws-actions/configure-aws-credentials@v4
with:
role-to-assume: ${{ secrets.AWS_ROLE_ARN }}
aws-region: us-west-2
- name: Run tests
run: bun test --timeout 120000 ./alchemy/test/cloudflare/dns.test.ts
env:
CI: true
BRANCH_PREFIX: pr-${{ github.ref_name }}
AWS_REGION: us-west-2
CLOUDFLARE_API_KEY: ${{ secrets.CLOUDFLARE_API_KEY }}
CLOUDFLARE_EMAIL: ${{ secrets.CLOUDFLARE_EMAIL }}
STRIPE_API_KEY: ${{ secrets.STRIPE_API_KEY }}
GITHUB_ACCESS_TOKEN: ${{ secrets.ADMIN_GITHUB_ACCESS_TOKEN }}
OPENAI_API_KEY: ${{ secrets.OPENAI_API_KEY }}