-
Notifications
You must be signed in to change notification settings - Fork 2
37 lines (35 loc) · 922 Bytes
/
ci.yml
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
27
28
29
30
31
32
33
34
35
36
37
name: ci
on: [push, workflow_dispatch]
jobs:
build:
name: build
strategy:
matrix:
os: [ubuntu-latest, macos-latest, windows-latest]
node_version: [16]
runs-on: ${{ matrix.os }}
steps:
- name: Initialize Node.js environment
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node_version }}
- name: Check out code
uses: actions/checkout@v2
- name: Set up dependencies
run: npm ci
- name: Build website
run: npm run build -w packages/csv-parser
eslint:
name: eslint
runs-on: ubuntu-latest
steps:
- name: Initialize Node.js environment
uses: actions/setup-node@v2
with:
node-version: 16
- name: Check out code
uses: actions/checkout@v2
- name: Set up dependencies
run: npm ci
- name: Run ESLint
run: npm run lint