Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions .github/workflows/lint-js-and-ruby.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,8 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
# TODO: Re-enable cache when Node.js 22 V8 bug is fixed
# Disable cache for Node 22 due to V8 bug in 22.21.0
# Track: https://github.com/nodejs/node/issues/56010
cache: ''
node-version: 20
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Print system information
run: |
Expand Down
10 changes: 3 additions & 7 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ jobs:
include:
# Always run: Latest versions (fast feedback on PRs)
- ruby-version: '3.4'
node-version: '22'
node-version: '20'
dependency-level: 'latest'
# Master only: Minimum supported versions (full coverage)
- ruby-version: '3.2'
Expand All @@ -69,9 +69,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# Disable cache for Node 22 due to V8 bug in 22.21.0
# https://github.com/nodejs/node/issues/56010
cache: ${{ matrix.node-version != '22' && 'yarn' || '' }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Print system information
run: |
Expand Down Expand Up @@ -150,9 +148,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# Disable cache for Node 22 due to V8 bug in 22.21.0
# https://github.com/nodejs/node/issues/56010
cache: ${{ matrix.node-version != '22' && 'yarn' || '' }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Print system information
run: |
Expand Down
14 changes: 3 additions & 11 deletions .github/workflows/package-js-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,7 @@ jobs:
(github.ref == 'refs/heads/master' || needs.detect-changes.outputs.run_js_tests == 'true')
strategy:
matrix:
include:
# Always run: Latest Node version (fast feedback on PRs)
- node-version: '22'
# Master only: Minimum supported Node version (full coverage)
- node-version: '20'
node-version: ['20']
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
Expand All @@ -61,10 +57,7 @@ jobs:
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
# TODO: Re-enable cache when Node.js 22 V8 bug is fixed
# Disable cache for Node 22 due to V8 bug in 22.21.0
# Track: https://github.com/nodejs/node/issues/56010
cache: ${{ matrix.node-version != '22' && 'yarn' || '' }}
cache: 'yarn'
cache-dependency-path: '**/yarn.lock'
- name: Print system information
run: |
Expand All @@ -74,11 +67,10 @@ jobs:
echo "Node version: "; node -v
echo "Yarn version: "; yarn --version
- name: run conversion script
if: matrix.node-version == '20'
run: script/convert
- name: Install Node modules with Yarn for renderer package
run: |
yarn install --no-progress --no-emoji ${{ matrix.node-version == '22' && '--frozen-lockfile' || '' }}
yarn install --no-progress --no-emoji
sudo yarn global add yalc
- name: Build Renderer package
run: yarn build
Expand Down