Fix: Version as forkflow
This commit is contained in:
@@ -1,7 +1,6 @@
|
|||||||
name: Build and Deploy to Cloudflare Pages
|
name: Deploy
|
||||||
|
|
||||||
on:
|
on:
|
||||||
pull_request: {}
|
|
||||||
push:
|
push:
|
||||||
branches: ["main"]
|
branches: ["main"]
|
||||||
|
|
||||||
@@ -16,16 +15,14 @@ jobs:
|
|||||||
- name: Setup Node
|
- name: Setup Node
|
||||||
uses: actions/setup-node@v4
|
uses: actions/setup-node@v4
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 22.16.0
|
||||||
|
cache: pnpm
|
||||||
|
|
||||||
- name: Setup pnpm
|
- name: Setup pnpm and Install deps
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
with:
|
with:
|
||||||
version: 9
|
version: 10.17.0
|
||||||
run_install: false
|
run_install: true
|
||||||
|
|
||||||
- name: Install deps
|
|
||||||
run: pnpm install --frozen-lockfile
|
|
||||||
|
|
||||||
- name: Build Astro
|
- name: Build Astro
|
||||||
run: pnpm build
|
run: pnpm build
|
||||||
|
|||||||
Reference in New Issue
Block a user