-
Notifications
You must be signed in to change notification settings - Fork 1
48 lines (43 loc) · 1.04 KB
/
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
38
39
40
41
42
43
44
45
46
47
48
name: Build and Test
on:
push:
workflow_dispatch:
permissions:
contents: read
jobs:
build:
name: Build and Test
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Build and test
uses: myrotvorets/composite-actions/build-test-nodejs@master
with:
node-version: lts/*
registry-url: https://npm.pkg.github.com
lint:
name: Check Code Style
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Run code style check
uses: myrotvorets/composite-actions/node-run-script@master
with:
registry-url: https://npm.pkg.github.com
script: lint
typecheck:
name: Check Types
runs-on: ubuntu-latest
permissions:
contents: read
packages: read
steps:
- name: Run type check
uses: myrotvorets/composite-actions/node-run-script@master
with:
registry-url: https://npm.pkg.github.com
script: typecheck