-
-
Notifications
You must be signed in to change notification settings - Fork 1
26 lines (26 loc) · 595 Bytes
/
ci.yml
File metadata and controls
26 lines (26 loc) · 595 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
on:
push:
branches-ignore:
- "gh-pages"
jobs:
build:
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: ["ubuntu-latest", "macos-latest", "windows-latest"]
node: ["18", "22"]
name: Node.js ${{ matrix.node }} on ${{ matrix.os }}
steps:
- name: Checkout repo
uses: actions/checkout@v3
with:
fetch-depth: 0
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
- run: npm install
- run: npm run lint
- run: npm test
env:
YARN_GPG: no