mirror of
https://github.com/chaitin/MonkeyCode.git
synced 2026-02-04 07:43:28 +08:00
ci: 修改构建 node 和 pnpm 版本
This commit is contained in:
8
.github/workflows/frontend-ci-cd.yml
vendored
8
.github/workflows/frontend-ci-cd.yml
vendored
@@ -3,7 +3,7 @@ name: Frontend CI/CD
|
||||
on:
|
||||
push:
|
||||
tags:
|
||||
- "v[0-9]+.[0-9]+.[0-9]+*"
|
||||
- 'v[0-9]+.[0-9]+.[0-9]+*'
|
||||
paths:
|
||||
- 'ui/**'
|
||||
- '.github/workflows/frontend-ci-cd.yml'
|
||||
@@ -29,12 +29,12 @@ jobs:
|
||||
- name: Set up Node.js
|
||||
uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: '20'
|
||||
node-version: '20.19.0'
|
||||
|
||||
- name: Set up pnpm
|
||||
uses: pnpm/action-setup@v2
|
||||
with:
|
||||
version: 8
|
||||
version: 10.12.1
|
||||
|
||||
- name: Get version
|
||||
id: get_version
|
||||
@@ -130,4 +130,4 @@ jobs:
|
||||
${{ env.REGISTRY }}/frontend:${{ needs.build.outputs.version }}
|
||||
${{ env.REGISTRY }}/frontend:latest
|
||||
cache-from: type=gha
|
||||
cache-to: type=gha,mode=max
|
||||
cache-to: type=gha,mode=max
|
||||
|
||||
Reference in New Issue
Block a user