Skip to content

Commit 70c3a55

Browse files
committed
ci: add multi-platform tests for custom action
1 parent 5cbb34b commit 70c3a55

File tree

2 files changed

+11
-3
lines changed

2 files changed

+11
-3
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@ jobs:
1313

1414
strategy:
1515
matrix:
16-
node: [ 20, 22 ]
1716
os:
1817
- ubuntu-latest
1918
- windows-latest
@@ -29,7 +28,7 @@ jobs:
2928
- name: Set up Node.js
3029
uses: actions/setup-node@v4
3130
with:
32-
node-version: ${{ matrix.node }}
31+
node-version: 22
3332
cache: "npm"
3433

3534
- name: Init dependencies

.github/workflows/test_custom_action_itself.yml

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,16 @@ on:
99

1010
jobs:
1111
test_custom_action_itself:
12-
runs-on: ubuntu-latest
12+
name: Test Custom Action on ${{ matrix.os }}
13+
14+
strategy:
15+
matrix:
16+
os:
17+
- ubuntu-latest
18+
- macos-latest
19+
20+
runs-on: ${{ matrix.os }}
21+
1322
steps:
1423
- uses: actions/checkout@v4
1524

0 commit comments

Comments
 (0)