Skip to content

Commit 5b5c68c

Browse files
chore: migrate to Yarn 4 and upgrade dependencies (#655)
* chore: migrate to Yarn 4 and upgrade dependencies * chore: adapt CI workflows to Yarn 4 and upgrade webpack - setup-node action: use 'yarn install --immutable' (Yarn 4 syntax) - unit.yml: drop Node 16 from matrix (Yarn 4 requires Node >=18), bump checkout to v6 - bump webpack to ^5.107.2 * chore: restore Node 16 unit tests via Babel Node 16 can't run Yarn 4 or tsx (both require Node >=18). Run the unit suite on Node 16 in a dedicated job: install deps on Node 24, then switch to Node 16 and run mocha through @babel/register instead of tsx. * Potential fix for pull request finding 'CodeQL / Workflow does not contain permissions' Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent 83bed55 commit 5b5c68c

17 files changed

Lines changed: 13578 additions & 9708 deletions

File tree

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @arnautov-anton @MartinCupela @xernobyl @JimmyPettersson85 @itsmeadi
1+
* @arnautov-anton @MartinCupela @JimmyPettersson85 @itsmeadi

.github/actions/setup-node/action.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ runs:
1313
using: 'composite'
1414
steps:
1515
- name: Setup Node
16-
uses: actions/setup-node@v5
16+
uses: actions/setup-node@v6
1717
with:
1818
node-version: ${{ inputs.node-version }}
1919
registry-url: 'https://registry.npmjs.org'
2020
cache: 'yarn'
2121

22-
- name: Install Dependencies & Build
23-
run: yarn install --frozen-lockfile --ignore-engines
22+
- name: Install Dependencies
23+
run: yarn install --immutable
2424
shell: bash
2525
env:
2626
PUPPETEER_SKIP_DOWNLOAD: ${{ inputs.skip-puppeteer }}

.github/workflows/browser.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
browser:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- uses: ./.github/actions/setup-node
1515
- name: Install Chrome
1616
run: npx puppeteer browsers install chrome

.github/workflows/cloud.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
qa:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- uses: ./.github/actions/setup-node
1515
- name: Test
1616
env:

.github/workflows/initiate_release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
name: 🚀 Create release PR
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
with:
1717
fetch-depth: 0 # gives the changelog generator access to all previous commits
1818

.github/workflows/integration.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
integration:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- uses: ./.github/actions/setup-node
1515
- name: Test
1616
env:

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
lint:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- uses: ./.github/actions/setup-node
1515
- name: Lint
1616
run: yarn run lint

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
if: github.event.pull_request.merged && startsWith(github.head_ref, 'release-')
1717
runs-on: ubuntu-latest
1818
steps:
19-
- uses: actions/checkout@v5
19+
- uses: actions/checkout@v6
2020
with:
2121
fetch-depth: 0
2222

.github/workflows/size.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
build:
1313
runs-on: ubuntu-latest
1414
steps:
15-
- uses: actions/checkout@v5
15+
- uses: actions/checkout@v6
1616
- uses: preactjs/compressed-size-action@v2
1717
env:
1818
PUPPETEER_SKIP_DOWNLOAD: 'true'

.github/workflows/type.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ jobs:
1010
types:
1111
runs-on: ubuntu-latest
1212
steps:
13-
- uses: actions/checkout@v5
13+
- uses: actions/checkout@v6
1414
- uses: ./.github/actions/setup-node
1515
- name: Type check
1616
run: yarn run types

0 commit comments

Comments
 (0)