Skip to content

remove pnpm store cache step from ci/cd deploy job #78

remove pnpm store cache step from ci/cd deploy job

remove pnpm store cache step from ci/cd deploy job #78

Workflow file for this run

name: Deploy to Cloudflare Pages
on:
push:
branches:
- master
jobs:
deploy:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: lts/*
- name: Install pnpm package manager
uses: pnpm/action-setup@v2
with:
version: latest
- name: Install dependencies
run: pnpm install
- name: Build
run: pnpm build
- name: Deploy to Cloudflare Pages
uses: cloudflare/[email protected]
with:
apiToken: ${{ secrets.CF_API_TOKEN }}
accountId: ${{ secrets.CF_ACCOUNT_ID }}
workingDirectory: "dist"
command: pages deploy --project-name=yunagi .