feat(config): added the option to create note without expiration #251
Workflow file for this run
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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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@11bd71901bbe5b1630ceea73d27597364c9af683 # 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 |