Skip to content

Commit

Permalink
chore: update node-version and pnpm in CI (biomejs#4741)
Browse files Browse the repository at this point in the history
* update node-version and pnpm

* fix build error
  • Loading branch information
nissy-dev authored Jul 30, 2023
1 parent 354cc78 commit bd68f02
Show file tree
Hide file tree
Showing 7 changed files with 215 additions and 201 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/pull_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18
- name: Cache pnpm modules
uses: actions/cache@v3
with:
Expand All @@ -125,7 +125,7 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7
version: 8
- name: Install wasm-pack
uses: jetli/[email protected]
with:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_cli.yml
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18

- name: Install Rust toolchain
run: rustup target add ${{ matrix.target }}
Expand Down Expand Up @@ -187,7 +187,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Set release infos
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/release_js_api.yml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18

- name: Install wasm-pack
uses: jetli/[email protected]
Expand All @@ -81,7 +81,7 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7
version: 8

- name: Set release infos
if: needs.check.outputs.prerelease == 'true'
Expand Down Expand Up @@ -133,7 +133,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Set release infos
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/release_lsp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18

- name: Update package.json version
if: needs.check.outputs.prerelease == 'true'
Expand Down Expand Up @@ -195,7 +195,7 @@ jobs:
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 14.x
node-version: 18
registry-url: 'https://registry.npmjs.org'

- name: Publish extension to Microsoft Marketplace (pre-release)
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/runtime.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
${{ runner.os }}-
- uses: pnpm/[email protected]
with:
version: 7
version: 8
- name: Install toolchain
uses: moonrepo/setup-rust@v0
- name: Install libraries
Expand All @@ -55,4 +55,4 @@ jobs:
pnpm --prefix npm/backend-jsonrpc run build
- name: CI checks
working-directory: npm/js-api
run: pnpm ci
run: pnpm run ci
Loading

0 comments on commit bd68f02

Please sign in to comment.