Skip to content

Commit 3987079

Browse files
committed
feat: Added updated unit test ci
1 parent 180f7b2 commit 3987079

File tree

2 files changed

+11
-24
lines changed

2 files changed

+11
-24
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 19 deletions
This file was deleted.
Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,24 @@
11
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
22
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
33

4-
name: Unit tests
4+
name: Node.js CI
55

6-
on: [ push ]
6+
on: [ 'push' ]
77

88
jobs:
99
build-and-test:
10-
runs-on: macos-latest
10+
runs-on: ${{ matrix.os }}
11+
12+
strategy:
13+
matrix:
14+
os: [ ubuntu-latest, macos-latest ]
15+
1116
steps:
1217
- uses: actions/checkout@v4
13-
- uses: actions/setup-node@v4
18+
- name: Use Node.js 22
19+
uses: actions/setup-node@v4
1420
with:
15-
node-version: '20.x'
21+
node-version: '22.x'
1622
cache: 'npm'
1723
- run: npm ci
1824
- run: npm run test

0 commit comments

Comments
 (0)