Skip to content

Commit 5077a06

Browse files
chore: Bump CI node versions (#1625)
1 parent 7b211b3 commit 5077a06

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.github/workflows/typescript-CI.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
- name: Set up Nodejs
4343
uses: actions/setup-node@v4
4444
with:
45-
node-version: 18
45+
node-version: 20
4646
- name: Setup PNPM
4747
uses: pnpm/action-setup@v4
4848
with:

.github/workflows/typescript-packages-publish-experimental.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ jobs:
4141
working-directory: ./js
4242
- uses: actions/setup-node@v4
4343
with:
44-
node-version: 22
44+
node-version: 20
4545

4646
- name: Install dependencies
4747
working-directory: ./js

js/.nvmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
v20

js/DEVELOPMENT.md

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,13 @@ nvm install 20
3232
nvm use 20
3333
```
3434

35+
or
36+
37+
```shell
38+
cd js
39+
nvm use
40+
```
41+
3542
Next, you will need to install [pnpm](https://pnpm.io/installation). pnpm is a package manager that is similar to npm, but is much faster and is optimized for workspaces with multiple packages. Once PNPM is installed, you can install the packages in this repo via:
3643

3744
The pnpm version used in this repo is managed in the package.json file. This will allow you to run all commands below with the proper version. In order to take advantage of that make sure your global pnpm version is `>=9.7.0`.
@@ -42,10 +49,9 @@ pnpm install --frozen-lockfile -r
4249

4350
This will install all the packages in the repo and their dependencies.
4451

45-
After the dependencies are installed, you can build the packages via the following two commands:
52+
After the dependencies are installed, you can build the packages via the following command:
4653

4754
```shell
48-
pnpm run -r prebuild
4955
pnpm run -r build
5056
```
5157

@@ -145,7 +151,6 @@ In most cases, changes to the packages in this repo will be published automatica
145151
```shell
146152
pnpm changeset # create a changeset
147153
pnpm changeset version # bump the version of the packages
148-
pnpm -r prebuild # generate the files needed for the build
149154
pnpm -r build # build the packages
150155
pnpm -r publish # publish to npm
151156
```

0 commit comments

Comments
 (0)