-
Notifications
You must be signed in to change notification settings - Fork 0
59 lines (46 loc) · 1.17 KB
/
build.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
49
50
51
52
53
54
55
56
57
58
59
on:
pull_request:
branches: [master, main]
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-18.04
steps:
- uses: actions/checkout@v2
- name: Install Node.js
uses: actions/[email protected]
with:
node-version: "14.x"
- name: Install Yarn
run: npm install --global yarn
shell: bash
- name: Setup Ruby
uses: ruby/[email protected]
with:
ruby-version: "2.4"
- name: Install License Checker
run: gem install license_finder
shell: bash
- name: Install Dependencies
run: yarn install --frozen-lockfile
shell: bash
- name: Check Licenses
run: yarn license:check
shell: bash
- name: Lint
run: yarn lint
shell: bash
- name: Check format
run: yarn format:check
shell: bash
- name: Test Coverage
run: yarn test:coverage
shell: bash
- name: Build
run: yarn build
shell: bash
- name: Publish Build Artifacts
uses: actions/upload-artifact@v2
with:
name: dist
path: ./packages/oidc-provider/dist