-
Notifications
You must be signed in to change notification settings - Fork 78
41 lines (40 loc) · 810 Bytes
/
ci.yml
File metadata and controls
41 lines (40 loc) · 810 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
35
36
37
38
39
40
41
name: Node.js CI
on:
push:
branches:
- 'master'
pull_request:
branches:
- master
jobs:
info:
runs-on: ubuntu-24.04
name: info
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v5
with:
node-version: '24'
- run: docker compose version
- run: node --version
lint:
runs-on: ubuntu-24.04
name: Lint
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v5
with:
node-version: '24'
- run: yarn
- run: yarn lint
build:
runs-on: ubuntu-24.04
name: Build + Test
steps:
- uses: actions/checkout@v6
- uses: actions/setup-node@v5
with:
node-version: '24'
- run: yarn
- run: yarn build
- run: yarn test