Skip to content
This repository has been archived by the owner on Jun 4, 2024. It is now read-only.

Bump @types/react from 18.2.23 to 18.2.61 #504

Bump @types/react from 18.2.23 to 18.2.61

Bump @types/react from 18.2.23 to 18.2.61 #504

name: Cloudflare Pages
on:
pull_request: {}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
jobs:
deploy:
name: Deploy to Cloudflare Pages
runs-on: ubuntu-20.04
env:
# Environment variables that are injected into the build
ENABLE_EXPERIMENTAL_COREPACK: 1
steps:
- uses: actions/checkout@v4.1.1
with:
lfs: true
submodules: true
- uses: actions/setup-node@v4.0.2
with:
node-version: 16.17
- run: corepack enable
- run: yarn install --immutable
- run: yarn web:build:prod
- name: copy cloudflare config to deployment directory
run: |
cp web/.cloudflare/* web/.webpack/
- uses: cloudflare/pages-action@v1.5.0
with:
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }}
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }}
gitHubToken: ${{ secrets.FOXGLOVEBOT_GITHUB_TOKEN }}
branch: ${{ github.head_ref || github.ref_name }}
projectName: foxglove-studio-oss
directory: web/.webpack