Skip to content

Commit 997a43d

Browse files
committed
Update workflow
1 parent d42e918 commit 997a43d

File tree

1 file changed

+13
-22
lines changed

1 file changed

+13
-22
lines changed

.github/workflows/test.yml

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -10,31 +10,22 @@ on:
1010

1111
jobs:
1212
test:
13-
name: ${{ matrix.platform }}
14-
runs-on: ${{ matrix.platform }}
15-
16-
strategy:
17-
fail-fast: false
18-
matrix:
19-
platform:
20-
- ubuntu-latest
21-
- macos-latest
22-
- windows-latest
23-
node:
24-
- 16
13+
name: Test
14+
runs-on: ubuntu-latest
2515

2616
steps:
27-
- name: Set git to use LF
28-
run: |
29-
git config --global core.autocrlf false
30-
git config --global core.eol lf
17+
- name: Clone Repository
18+
uses: actions/checkout@v3
3119

32-
- uses: actions/checkout@v2
33-
- name: Use Node.js ${{ matrix.node }}
34-
uses: actions/setup-node@v2
20+
- name: Setup Node.js
21+
uses: actions/setup-node@v3
3522
with:
36-
node-version: ${{ matrix.node }}
37-
- run: npm ci
38-
- run: npm test
23+
node-version: '16'
24+
25+
- name: Install Dependencies
26+
run: npm ci
27+
28+
- name: Run Tests
29+
run: npm test
3930
env:
4031
CI: true

0 commit comments

Comments
 (0)