Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 191dafd676 |
8
.github/workflows/deploy.yml
vendored
8
.github/workflows/deploy.yml
vendored
@@ -7,20 +7,20 @@ on:
|
|||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build-and-deploy:
|
build-and-deploy:
|
||||||
runs-on: linux
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
# 1. Checkout code
|
# 1. Checkout code
|
||||||
- name: Checkout Code
|
- name: Checkout Code
|
||||||
uses: actions/checkout@v4
|
uses: https://gitee.com/mirror-actions/checkout
|
||||||
|
|
||||||
# 2. Install pnpm (Node >= 20)
|
# 2. Install pnpm (Node >= 20)
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v2
|
uses: https://gitee.com/youtellme/pnpm-action-setup
|
||||||
with:
|
with:
|
||||||
version: 8 # Alternatively use latest
|
version: 8 # Alternatively use latest
|
||||||
|
|
||||||
- name: Set Up Node.js
|
- name: Set Up Node.js
|
||||||
uses: actions/setup-node@v4
|
uses: https://gitee.com/mirror-actions/setup-node
|
||||||
with:
|
with:
|
||||||
node-version: 20
|
node-version: 20
|
||||||
cache: "pnpm"
|
cache: "pnpm"
|
||||||
|
|||||||
Reference in New Issue
Block a user