Skip to content

Commit c047b63

Browse files
CI LTS Node
1 parent 832852c commit c047b63

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.github/workflows/ci.yml

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

2626
test:
2727
runs-on: ubuntu-latest
28-
strategy:
29-
matrix:
30-
node: [18, 20]
31-
name: Test with Node ${{ matrix.node }}
28+
# strategy:
29+
# matrix:
30+
# node: [18, 20]
31+
name: Test with Node LTS
3232
steps:
3333
- uses: actions/checkout@v3
3434
- uses: actions/setup-node@v3
3535
with:
36-
node-version: ${{ matrix.node }}
36+
node-version: lts/*
3737

3838
- name: 💾 Cache Dependencies
3939
uses: actions/cache@v3
4040
with:
4141
path: ./node_modules
42-
key: ${{ runner.os }}-${{ matrix.node }}-modules-${{ hashFiles('**/yarn.lock') }}
42+
key: ${{ runner.os }}-lts-modules-${{ hashFiles('**/yarn.lock') }}
4343

4444
- name: 🔨 Install Dependencies & Build
4545
run: |
4646
yarn install --frozen-lockfile --ignore-engines
4747
yarn build
4848
49-
- name: 🧪 Lint and Test with ${{ matrix.node }}
49+
- name: 🧪 Lint and Test with Node LTS
5050
env:
5151
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
5252
run: |
5353
yarn lint
5454
yarn coverage
5555
yarn validate-translations
5656
57-
- name: 🧪 Validate CommonJS bundle with ${{ matrix.node }}
57+
- name: 🧪 Validate CommonJS bundle with LTS
5858
run: yarn validate-cjs

0 commit comments

Comments
 (0)