Skip to content

Commit 0c9ab9a

Browse files
authored
hotfix: do not overide Rslib's underlying Rspack (#14)
1 parent 04eafb2 commit 0c9ab9a

14 files changed

Lines changed: 79 additions & 33 deletions

.github/actions/build-rspack/action.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ outputs:
1919
runs:
2020
using: composite
2121
steps:
22-
- uses: actions/setup-node@v3
22+
- uses: actions/setup-node@v4
2323
with:
2424
node-version: 22
2525
- shell: bash
@@ -35,6 +35,7 @@ runs:
3535
repository: ${{ inputs.repository }}
3636
path: ${{ inputs.path }}
3737
ref: ${{ inputs.ref }}
38+
3839
- uses: actions/download-artifact@v4
3940
with:
4041
name: binding-linux-x64-gnu

.github/actions/prepare-rspack-binding/action.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ inputs:
1616
node-version:
1717
description: 'The version of Node.js to set up'
1818
required: true
19-
default: '18'
19+
default: '22'
2020
outputs:
2121
artifact-name:
2222
description: 'The name of the uploaded artifact'
@@ -29,7 +29,7 @@ runs:
2929
repository: ${{ inputs.repository }}
3030
path: ${{ inputs.path }}
3131
ref: ${{ inputs.ref }}
32-
- uses: actions/setup-node@v3
32+
- uses: actions/setup-node@v4
3333
with:
3434
node-version: ${{ inputs.node-version }}
3535
- shell: bash

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- suite: rstest
1919
os: ubuntu-latest
2020
- suite: rspress
21-
os: macos-latest
21+
os: ubuntu-latest
2222
- suite: plugins
2323
os: ubuntu-latest
2424
- suite: modernjs
@@ -52,7 +52,7 @@ jobs:
5252
- suite: rstest
5353
os: ubuntu-latest
5454
- suite: rspress
55-
os: macos-latest
55+
os: ubuntu-latest
5656
- suite: rsdoctor
5757
os: ubuntu-latest
5858
fail-fast: false
@@ -155,7 +155,7 @@ jobs:
155155
# - suite: nx
156156
# os: ubuntu-22.04
157157
- suite: rspress
158-
os: macos-latest
158+
os: ubuntu-22.04
159159
- suite: rsbuild
160160
os: ubuntu-22.04
161161
- suite: examples

.github/workflows/rsbuild-ecosystem-ci-from-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252

5353
jobs:
5454
execute-selected-suite:
55-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
55+
runs-on: ubuntu-latest
5656
if: "inputs.suite != '-'"
5757
steps:
5858
- uses: actions/checkout@v5
@@ -80,7 +80,7 @@ jobs:
8080
- suite: rstest
8181
os: ubuntu-latest
8282
- suite: rspress
83-
os: macos-latest
83+
os: ubuntu-latest
8484
- suite: plugins
8585
os: ubuntu-latest
8686
- suite: modernjs

.github/workflows/rsbuild-ecosystem-ci-from-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252

5353
jobs:
5454
execute-selected-suite:
55-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
55+
runs-on: ubuntu-latest
5656
if: "inputs.suite != '-'"
5757
steps:
5858
- uses: actions/checkout@v5
@@ -80,7 +80,7 @@ jobs:
8080
- suite: rstest
8181
os: ubuntu-latest
8282
- suite: rspress
83-
os: macos-latest
83+
os: ubuntu-latest
8484
- suite: plugins
8585
os: ubuntu-latest
8686
- suite: modernjs

.github/workflows/rsbuild-ecosystem-ci-selected.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ on:
5959

6060
jobs:
6161
execute-selected-suite:
62-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
62+
runs-on: ubuntu-latest
6363
if: "inputs.suite != '-'"
6464
steps:
6565
- uses: actions/checkout@v5
@@ -87,7 +87,7 @@ jobs:
8787
- suite: rstest
8888
os: ubuntu-latest
8989
- suite: rspress
90-
os: macos-latest
90+
os: ubuntu-latest
9191
- suite: plugins
9292
os: ubuntu-latest
9393
- suite: modernjs

.github/workflows/rslib-ecosystem-ci-from-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252

5353
jobs:
5454
execute-selected-suite:
55-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
55+
runs-on: ubuntu-latest
5656
if: "inputs.suite != '-'"
5757
steps:
5858
- uses: actions/checkout@v5
@@ -82,7 +82,7 @@ jobs:
8282
- suite: rstest
8383
os: ubuntu-latest
8484
- suite: rspress
85-
os: macos-latest
85+
os: ubuntu-latest
8686
- suite: rsdoctor
8787
os: ubuntu-latest
8888
fail-fast: false

.github/workflows/rslib-ecosystem-ci-from-pr.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ on:
5252

5353
jobs:
5454
execute-selected-suite:
55-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
55+
runs-on: ubuntu-latest
5656
if: "inputs.suite != '-'"
5757
steps:
5858
- uses: actions/checkout@v5
@@ -82,7 +82,7 @@ jobs:
8282
- suite: rstest
8383
os: ubuntu-latest
8484
- suite: rspress
85-
os: macos-latest
85+
os: ubuntu-latest
8686
- suite: rsdoctor
8787
os: ubuntu-latest
8888
fail-fast: false

.github/workflows/rslib-ecosystem-ci-selected.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ on:
5858

5959
jobs:
6060
execute-selected-suite:
61-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-latest' }}
61+
runs-on: ubuntu-latest
6262
if: "inputs.suite != '-'"
6363
steps:
6464
- uses: actions/checkout@v5
@@ -88,7 +88,7 @@ jobs:
8888
- suite: rstest
8989
os: ubuntu-latest
9090
- suite: rspress
91-
os: macos-latest
91+
os: ubuntu-latest
9292
- suite: rsdoctor
9393
os: ubuntu-latest
9494
fail-fast: false

.github/workflows/rspack-ecosystem-ci-from-commit.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ jobs:
7070
ref: ${{ inputs.commitSHA }}
7171

7272
execute-selected-suite:
73-
runs-on: ${{ inputs.suite == 'rspress' && 'macos-latest' || 'ubuntu-22.04' }}
73+
runs-on: ubuntu-22.04
7474
needs: [get-runner-labels, prepare-binding]
7575
if: "inputs.suite != '-'"
7676
steps:
@@ -104,7 +104,7 @@ jobs:
104104
- suite: rsdoctor
105105
os: ubuntu-22.04
106106
- suite: rspress
107-
os: macos-latest
107+
os: ubuntu-22.04
108108
- suite: rslib
109109
os: ubuntu-22.04
110110
- suite: rstest

0 commit comments

Comments
 (0)