Skip to content

Commit eb5e4ce

Browse files
committed
CI checks
1 parent 862af4e commit eb5e4ce

File tree

1 file changed

+40
-0
lines changed

1 file changed

+40
-0
lines changed

.github/workflows/ci.yml

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
name: CI
2+
3+
on: [push, pull_request]
4+
5+
env:
6+
CI: true
7+
NODE_OPTIONS: "--disable-proto=delete"
8+
9+
jobs:
10+
test:
11+
runs-on: ubuntu-latest
12+
13+
strategy:
14+
matrix:
15+
node-version: [20.x]
16+
17+
steps:
18+
- uses: actions/checkout@v3
19+
- name: Use Node.js ${{ matrix.node-version }}
20+
uses: actions/setup-node@v3
21+
with:
22+
node-version: ${{ matrix.node-version }}
23+
- run: yarn --frozen-lockfile
24+
- run: yarn test
25+
26+
lint:
27+
runs-on: ubuntu-latest
28+
29+
strategy:
30+
matrix:
31+
node-version: [20.x]
32+
33+
steps:
34+
- uses: actions/checkout@v3
35+
- name: Use Node.js ${{ matrix.node-version }}
36+
uses: actions/setup-node@v3
37+
with:
38+
node-version: ${{ matrix.node-version }}
39+
- run: yarn --frozen-lockfile
40+
- run: yarn lint

0 commit comments

Comments
 (0)