Skip to content

Commit eed749e

Browse files
committed
🏗 add main github actions workflow
1 parent 6f80966 commit eed749e

File tree

1 file changed

+23
-0
lines changed

1 file changed

+23
-0
lines changed

.github/workflows/main.yml

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
name: CI
2+
on:
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
name: Node.js ${{ matrix.node-version }}
8+
runs-on: ubuntu-latest
9+
strategy:
10+
# `fail-fast` is set to `false` because we won't know which Node versions are failing and which are passing
11+
fail-fast: false
12+
matrix:
13+
# https://nodejs.dev/en/about/releases/
14+
node-version:
15+
- 18
16+
- 20
17+
steps:
18+
- uses: actions/checkout@v3
19+
- uses: actions/setup-node@v3
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- run: yarn install
23+
- run: yarn test

0 commit comments

Comments
 (0)