-
-
Notifications
You must be signed in to change notification settings - Fork 26
34 lines (25 loc) · 539 Bytes
/
ci.yml
File metadata and controls
34 lines (25 loc) · 539 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
27
28
29
30
31
32
33
34
name: CI
on:
pull_request:
push:
branches:
- main
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node: [12, 14, 16]
steps:
- name: Check out repo
uses: actions/checkout@v4.2.2
- name: Install node
uses: actions/setup-node@v4.4.0
with:
node-version: ${{ matrix.node }}
- run: yarn install
- run: yarn test
- run: yarn run build