Skip to content

Commit

Permalink
perf: upgrade pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
i7eo committed Dec 8, 2023
1 parent 96b551d commit 81439a5
Show file tree
Hide file tree
Showing 3 changed files with 40 additions and 224 deletions.
21 changes: 10 additions & 11 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,28 +22,27 @@ jobs:
with:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 7

- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: 16
cache: pnpm

- name: Setup pnpm
uses: pnpm/action-setup@v2
with:
version: 8

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

- name: Build Packages
run: pnpm build

- name: Fetch Github User Email
run: git config --global user.email $(git log -n 1 --pretty=format:%ae)

- name: Fetch Github User Name
run: git config --global user.name $(git log -n 1 --pretty=format:%an)
- name: Fetch Github User Email & Name
run: |
git config --global user.email $(git log -n 1 --pretty=format:%ae)
git config --global user.name $(git log -n 1 --pretty=format:%an)
- name: Generate changelogrc
run: pnpm changelog:gen
Expand All @@ -61,4 +60,4 @@ jobs:

- name: Commit changelog files
run: |
git add . && git diff --staged --quiet || git commit -am "docs: 📝 update changelog on repository" && git push origin $GITHUB_BRANCH
git add . && git diff --staged --quiet || git commit -am "docs: 📝 update changelog on repository" && git push origin $GITHUB_BRANCH
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "google-translate-select-monorepo",
"private": true,
"packageManager": "pnpm@7.18.0",
"packageManager": "pnpm@8.11.0",
"description": "🚀 A modern, high-performance monorepo project designed with Google Translate JS SDK. Vue and react are supported!",
"keywords": [
"google translate select",
Expand Down Expand Up @@ -97,6 +97,7 @@
"vitest": "^0.26.2"
},
"engines": {
"pnpm": ">=8",
"node": ">=16"
},
"pnpm": {
Expand Down
Loading

1 comment on commit 81439a5

@vercel
Copy link

@vercel vercel bot commented on 81439a5 Dec 8, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.