Skip to content

Commit ebf9529

Browse files
risantosfranciscocardoso
authored andcommitted
Update test workflow
1 parent e099d0c commit ebf9529

1 file changed

Lines changed: 19 additions & 5 deletions

File tree

.github/workflows/tests.yaml

Lines changed: 19 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,25 @@ jobs:
77
runs-on: ubuntu-latest
88
strategy:
99
matrix:
10-
node: ['22', '24']
10+
node: ['20', '22', '24']
1111
name: Node ${{ matrix.node }}
1212

1313
steps:
14-
- uses: actions/checkout@v4
15-
- run: yarn install --frozen-lockfile
16-
- run: yarn lint
17-
- run: yarn test
14+
- name: Checkout code
15+
uses: actions/checkout@v4
16+
with:
17+
persist-credentials: false
18+
19+
- name: Setup Node.js version
20+
uses: actions/setup-node@v4
21+
with:
22+
node-version: ${{ matrix.node }}
23+
24+
- name: Install dependencies
25+
run: yarn install --frozen-lockfile
26+
27+
- name: Run lint
28+
run: yarn lint
29+
30+
- name: Run tests
31+
run: yarn test

0 commit comments

Comments
 (0)