Skip to content
This repository was archived by the owner on May 4, 2023. It is now read-only.

Commit 85a4e79

Browse files
feat: add main workflow
1 parent 152f8f4 commit 85a4e79

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

.github/.workflows/main.yml

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
on: [push, pull_request]
2+
3+
jobs:
4+
build:
5+
strategy:
6+
matrix:
7+
os: [macos-latest, ubuntu-latest, windows-latest]
8+
node: [14, 16, 18]
9+
runs-on: ${{ matrix.os }}
10+
11+
steps:
12+
- uses: actions/checkout@v3
13+
- name: Setup node
14+
uses: actions/setup-node@v3
15+
with:
16+
node-version: ${{ matrix.node }}
17+
- name: Install modules
18+
run: npm install
19+
- name: Run tests
20+
run: npm run test

0 commit comments

Comments
 (0)