Update dependency vitest to v0.34.6 #645
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: Deploy Pages | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
deploy: | |
runs-on: ubuntu-latest | |
timeout-minutes: 5 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- uses: pnpm/action-setup@v2.4.1 | |
with: | |
version: 7 | |
- name: Install dependencies | |
run: | | |
pnpm install | |
cd packages/status-page/ | |
pnpm run docs:build | |
cp _worker.js ./dist/_worker.js | |
export CLOUDFLARE_API_TOKEN="${{ secrets.CF_API_TOKEN }}" | |
export CLOUDFLARE_ACCOUNT_ID="${{ secrets.CF_ACCOUNT_ID }}" | |
npx wrangler pages publish dist --project-name="status-page" |