ci: 更新 pnpm 版本

pull/49/head
zjx0905 2023-08-12 22:31:19 +08:00
parent a04f833d91
commit c57a01fd9e
5 changed files with 9 additions and 9 deletions

View File

@ -24,7 +24,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Set node
uses: actions/setup-node@v3

View File

@ -15,7 +15,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Set node
uses: actions/setup-node@v3
@ -24,7 +24,7 @@ jobs:
cache: pnpm
- name: Install
run: pnpm i
run: pnpm install --no-frozen-lockfile
- name: Build
run: pnpm build -a

View File

@ -15,7 +15,7 @@ jobs:
- name: Install pnpm
uses: pnpm/action-setup@v2
with:
version: 7
version: 8
- name: Set node
uses: actions/setup-node@v3
@ -24,7 +24,7 @@ jobs:
cache: pnpm
- name: Install
run: pnpm i
run: pnpm install --no-frozen-lockfile
- name: Build Release Assets
run: pnpm build:assets

View File

@ -1,6 +1,6 @@
{
"name": "axios-miniprogram",
"version": "2.5.0",
"version": "2.6.0",
"description": "基于 Promise 的 HTTP 请求库,适用于各大小程序平台。",
"main": "dist/axios-miniprogram.cjs.js",
"module": "dist/axios-miniprogram.esm.js",
@ -27,7 +27,7 @@
"type": "module",
"engines": {
"node": ">=16",
"pnpm": ">=7"
"pnpm": ">=8"
},
"scripts": {
"cz": "simple-git-hooks && czg",

View File

@ -27,10 +27,10 @@ async function main() {
exec(`git tag -a v${version} -m "v${version}"`);
consola.info('Git push');
exec('git push');
exec('git push -f');
consola.info('Git push tag');
exec(`git push origin v${version}`);
exec(`git push -f origin v${version}`);
}
function checkBranch() {