Skip to content

Commit

Permalink
ci: 更新 pnpm 版本
Browse files Browse the repository at this point in the history
  • Loading branch information
zjxxxxxxxxx committed Aug 12, 2023
1 parent a04f833 commit c57a01f
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Expand Up @@ -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
Expand All @@ -24,7 +24,7 @@ jobs:
cache: pnpm

- name: Install
run: pnpm i
run: pnpm install --no-frozen-lockfile

- name: Build
run: pnpm build -a
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Expand Up @@ -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
Expand All @@ -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
Expand Down
4 changes: 2 additions & 2 deletions package.json
@@ -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",
Expand All @@ -27,7 +27,7 @@
"type": "module",
"engines": {
"node": ">=16",
"pnpm": ">=7"
"pnpm": ">=8"
},
"scripts": {
"cz": "simple-git-hooks && czg",
Expand Down
4 changes: 2 additions & 2 deletions scripts/release.ts
Expand Up @@ -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() {
Expand Down

0 comments on commit c57a01f

Please sign in to comment.