Skip to content

ci: πŸ”§ use reusable action to setup pnpm #18

ci: πŸ”§ use reusable action to setup pnpm

ci: πŸ”§ use reusable action to setup pnpm #18

Workflow file for this run

name: Deploy to Cloudflare Workers
on:
workflow_dispatch:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
deploy:
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Checkout 🧳
uses: actions/checkout@v3
- name: Setup PNPM βš™οΈ
uses: AkashRajpurohit/.github/.github/actions/setup-pnpm@main
with:
node_version: 18
pnpm_version: 7
- name: Install dependencies ⏬
run: pnpm install --no-frozen-lockfile
# Deploy
- name: Deploy πŸš€
run: pnpm run deploy
env:
CLOUDFLARE_API_TOKEN: ${{ secrets.CF_API_TOKEN }}
CLOUDFLARE_ACCOUNT_ID: ${{ secrets.CF_ACCOUNT_ID }}