Skip to content

Commit 17e30b5

Browse files
committed
Update CI
1 parent ed6c258 commit 17e30b5

File tree

1 file changed

+5
-16
lines changed

1 file changed

+5
-16
lines changed

.github/workflows/ci.yaml

+5-16
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,6 @@ jobs:
3737
- run: yarn test:unit
3838

3939
e2e:
40-
strategy:
41-
fail-fast: false
42-
matrix:
43-
node:
44-
- 18
45-
4640
timeout-minutes: 10
4741

4842
name: End to End
@@ -51,17 +45,17 @@ jobs:
5145
steps:
5246
- uses: actions/checkout@v4
5347

54-
- name: Install Node ${{matrix.node}}.x
48+
- name: Install Node
5549
uses: actions/setup-node@v4
5650
with:
57-
node-version: ${{matrix.node}}.x
51+
node-version-file: 'package.json'
5852

5953
- name: Cache build:all
6054
id: cache-build
6155
uses: actions/cache@v4
6256
with:
6357
path: packages/published/**/dist
64-
key: ${{ matrix.node }}-cache-build-${{ hashFiles('packages/published/**', 'yarn.lock') }}
58+
key: node18-cache-build-${{ hashFiles('packages/published/**', 'yarn.lock') }}
6559

6660
- name: Cache playwright binaries
6761
id: cache-playwright-binaries
@@ -105,18 +99,13 @@ jobs:
10599
retention-days: 3
106100

107101
lint:
108-
strategy:
109-
matrix:
110-
node:
111-
- 18
112-
113102
name: Linting
114103
runs-on: ubuntu-latest
115104

116105
steps:
117106
- uses: actions/checkout@v4
118107

119-
- name: Install Node ${{matrix.node}}.x
108+
- name: Install Node
120109
uses: actions/setup-node@v4
121110
with:
122111
node-version-file: 'package.json'
@@ -126,7 +115,7 @@ jobs:
126115
uses: actions/cache@v4
127116
with:
128117
path: packages/published/**/dist
129-
key: ${{ matrix.node }}-cache-build-${{ hashFiles('packages/published/**', 'yarn.lock') }}
118+
key: node18-cache-build-${{ hashFiles('packages/published/**', 'yarn.lock') }}
130119

131120
- run: yarn install
132121

0 commit comments

Comments
 (0)