chore(deps): update minor and patch dependencies #678
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: Publish to Cloudflare Pages | |
on: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
publish: | |
runs-on: ubuntu-22.04 | |
permissions: | |
contents: read | |
deployments: write | |
steps: | |
- name: Checkout respository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js | |
uses: jdx/mise-action@v2 | |
env: | |
MISE_NODE_COREPACK: true | |
- name: Install dependencies | |
run: pnpm install --frozen-lockfile | |
- name: Build website | |
run: pnpm run build | |
- name: Publish to Cloudflare Pages | |
uses: cloudflare/pages-action@v1 | |
with: | |
apiToken: ${{ secrets.CLOUDFLARE_API_TOKEN }} | |
accountId: ${{ secrets.CLOUDFLARE_ACCOUNT_ID }} | |
projectName: r4ai-dev | |
directory: ./dist | |
gitHubToken: ${{ secrets.GITHUB_TOKEN }} |