chore(deps): update dependency wrangler to v3.80.4 #156
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 used in ./cd-preview-deploy.yaml | |
name: CD - Preview Build | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
jobs: | |
build-app-preview: | |
runs-on: ubuntu-latest | |
name: Build app and upload build artifact | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
corepack: true | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Build the app | |
run: pnpm -F @enclosed/deploy-cloudflare build | |
# Uploads the build directory as a workflow artifact | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: preview-app-build | |
if-no-files-found: error | |
path: packages/deploy-cloudflare/dist | |
build-docs-preview: | |
runs-on: ubuntu-latest | |
name: Build docs and upload build artifact | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4 | |
- run: corepack enable | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 22 | |
corepack: true | |
cache: 'pnpm' | |
- name: Install dependencies | |
run: pnpm i | |
- name: Build the docs | |
run: pnpm -F @enclosed/docs build | |
# Uploads the build directory as a workflow artifact | |
- name: Upload build artifact | |
uses: actions/upload-artifact@v4 | |
with: | |
name: preview-docs-build | |
if-no-files-found: error | |
path: packages/docs/dist |