Skip to content

Commit 2f2b663

Browse files
chore: update github-actions (#255)
remove Node matrix and use latest versions for actions
1 parent 8c9f272 commit 2f2b663

File tree

3 files changed

+16
-25
lines changed

3 files changed

+16
-25
lines changed

.github/workflows/api-client.yml

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,22 +8,17 @@ on:
88
- main
99
jobs:
1010
build:
11-
name: Get api client test coverage on node ${{ matrix.node }} and ${{ matrix.os }}
12-
13-
runs-on: ${{ matrix.os }}
14-
strategy:
15-
matrix:
16-
node: ["18.x", "20.x"]
17-
os: [ubuntu-latest]
11+
name: Get api client test coverage
12+
runs-on: ubuntu-latest
1813

1914
steps:
2015
- name: Checkout repo
21-
uses: actions/checkout@v2
16+
uses: actions/checkout@v4
2217

23-
- name: Use Node ${{ matrix.node }}
24-
uses: actions/setup-node@v1
18+
- name: Use Node 20
19+
uses: actions/setup-node@v4
2520
with:
26-
node-version: ${{ matrix.node }}
21+
node-version: '20.x'
2722

2823
- name: Install
2924
run: npm ci
@@ -38,7 +33,7 @@ jobs:
3833
working-directory: ./packages/api-client
3934

4035
- name: Comment
41-
uses: romeovs/lcov-reporter-action@v0.2.19
36+
uses: romeovs/lcov-reporter-action@v0.4.0
4237
with:
4338
github-token: ${{ secrets.GITHUB_TOKEN }}
4439
lcov-file: ./packages/api-client/coverage/lcov.info

.github/workflows/visualizations.yml

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,10 @@ jobs:
2525

2626
steps:
2727
- name: Checkout repo
28-
uses: actions/checkout@v2
28+
uses: actions/checkout@v4
2929

3030
- name: Use Node ${{ matrix.node }}
31-
uses: actions/setup-node@v1
31+
uses: actions/setup-node@v4
3232
with:
3333
node-version: ${{ matrix.node }}
3434

@@ -49,10 +49,10 @@ jobs:
4949

5050
steps:
5151
- name: Checkout repo
52-
uses: actions/checkout@v2
52+
uses: actions/checkout@v4
5353

5454
- name: Use Node ${{ matrix.node }}
55-
uses: actions/setup-node@v1
55+
uses: actions/setup-node@v4
5656
with:
5757
node-version: ${{ matrix.node }}
5858

@@ -65,22 +65,18 @@ jobs:
6565
chromatic-deployment:
6666
if: github.event.pull_request.draft == false || github.ref_name == 'main'
6767
runs-on: ubuntu-latest
68-
strategy:
69-
matrix:
70-
node: ["18.x", "20.x"]
71-
7268
needs: [test, lint]
7369

7470
steps:
7571
- name: Checkout repo
76-
uses: actions/checkout@v2
72+
uses: actions/checkout@v4
7773
with:
7874
fetch-depth: 0
7975

80-
- name: Use Node ${{ matrix.node }}
81-
uses: actions/setup-node@v1
76+
- name: Use Node 20
77+
uses: actions/setup-node@v4
8278
with:
83-
node-version: ${{ matrix.node }}
79+
node-version: '20.x'
8480

8581
- name: Build
8682
run: npm run build-ci

packages/visualizations-react/stories/Table/Table.stories.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ emptyState.args = {
101101
export const RtlDirection = Template.bind({});
102102
RtlDirection.parameters = {
103103
direction: 'rtl',
104-
disableSnapshot: true,
104+
chromatic: { disableSnapshot: true },
105105
};
106106
RtlDirection.args = {
107107
data,

0 commit comments

Comments
 (0)