Skip to content

Commit

Permalink
chore(deps): upgrade node and pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
qwqcode committed Jun 8, 2024
1 parent b8151bb commit 0e75457
Show file tree
Hide file tree
Showing 11 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion .circleci/conditional_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ executors:
- image: cimg/base:stable
node:
docker:
- image: "cimg/node:20.13.1"
- image: "cimg/node:20.14.0"
go:
docker:
- image: cimg/go:1.22.3
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,9 @@ jobs:
fetch-depth: 0

- name: Setup pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9.1.2
version: 9.2.0

- name: Setup node
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build-ui.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ jobs:
ref: ${{ inputs.version }}

- name: Use pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9.1.2
version: 9.2.0

- name: Setup node
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docs-cn.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ jobs:
uses: actions/checkout@v4

- name: Use pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9.1.2
version: 9.2.0

- name: Setup node
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@ jobs:
uses: actions/checkout@v4

- name: Use pnpm
uses: pnpm/action-setup@v3
uses: pnpm/action-setup@v4
with:
version: 9.1.2
version: 9.2.0

- name: Use Node.js
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@ jobs:
- name: Checkout Code
uses: actions/checkout@v4

- uses: pnpm/action-setup@v3
- uses: pnpm/action-setup@v4
with:
version: 9.1.2
version: 9.2.0

- name: Use Node.js ${{ matrix.node }}
uses: actions/setup-node@v4
Expand Down
4 changes: 2 additions & 2 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cd Artalk

To develop Artalk, both frontend and backend, install the following tools:

- [Node.js](https://nodejs.org/en/) (>= 20.13.1)
- [PNPM](https://pnpm.io/) (>= 9.1.2)
- [Node.js](https://nodejs.org/en/) (>= 20.14.0)
- [PNPM](https://pnpm.io/) (>= 9.2.0)
- [Go](https://golang.org/) (>= 1.22)
- [Docker](https://www.docker.com/) (>= 20.10.0) (optional)
- [Docker Compose](https://docs.docker.com/compose/) (>= 1.29.0) (optional)
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ ARG SKIP_UI_BUILD=false
RUN set -ex \
&& if [ "$SKIP_UI_BUILD" = "false" ]; then \
apk add --no-cache nodejs npm \
&& npm install -g pnpm@9.1.2 \
&& npm install -g pnpm@9.2.0 \
;fi

RUN set -ex \
Expand Down
4 changes: 2 additions & 2 deletions docs/docs/develop/contributing.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@ cd Artalk

为了开发 Artalk 的前端和后端,请安装以下工具:

- [Node.js](https://nodejs.org/en/) (>= 20.13.1)
- [PNPM](https://pnpm.io/) (>= 9.1.2)
- [Node.js](https://nodejs.org/en/) (>= 20.14.0)
- [PNPM](https://pnpm.io/) (>= 9.2.0)
- [Go](https://golang.org/) (>= 1.22)
- [Docker](https://www.docker.com/) (>= 20.10.0)(可选)
- [Docker Compose](https://docs.docker.com/compose/) (>= 1.29.0)(可选)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "artalk-monorepo",
"private": true,
"homepage": "https://artalk.js.org",
"packageManager": "pnpm@9.1.2",
"packageManager": "pnpm@9.2.0",
"scripts": {
"dev": "pnpm -F artalk dev",
"dev:sidebar": "pnpm -F @artalk/artalk-sidebar dev",
Expand Down
4 changes: 2 additions & 2 deletions scripts/build-frontend.sh
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@ then
export VOLTA_HOME="${HOME}/.volta"
export PATH="${VOLTA_HOME}/bin:${PATH}"

volta install node@20.13.1
volta install pnpm@9.1.2
volta install node@20.14.0
volta install pnpm@9.2.0
fi

pnpm install --frozen-lockfile
Expand Down

0 comments on commit 0e75457

Please sign in to comment.