-
Notifications
You must be signed in to change notification settings - Fork 55
39 lines (32 loc) · 1 KB
/
build.yaml
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
name: Build Filters Registry
on:
# For manual run builds
workflow_dispatch:
push:
paths-ignore:
# do not trigger build on changes to the following files.
# it is needed to avoid pull request merge blocking
# as compiler does not use the updated config during the build.
- 'optimization_config.json'
jobs:
build:
if: "!contains(github.event.head_commit.message, 'skip ci')"
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18.x
- name: Install dependencies
run: yarn install --network-concurrency 1
- name: Lint code
# TODO: add a separate workflow for linting
run: yarn lint
- name: Build filters
run: TLS=insecure yarn build
- name: Build patches
# Time live of patches - '60 minutes'
run: yarn build:patches 60 m
- name: Validate platforms and locales
run: yarn validate