-
Notifications
You must be signed in to change notification settings - Fork 0
43 lines (36 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
40
41
42
43
name: Build and Test NPM packages
on:
pull_request:
types: [opened, reopened, synchronize]
branches:
- 'main'
push:
branches:
- 'main'
workflow_dispatch: {}
jobs:
init:
runs-on: ubuntu-latest
steps:
- uses: milaboratory/github-ci/actions/context/init@v4
with:
version-canonize: false
branch-versioning: main
run:
needs:
- init
uses: milaboratory/github-ci-internal/.github/workflows/node-docker-simple-fast-pnpm.yaml@v4
with:
app-name: Block Boilerplate
app-name-slug: 'block-boilerplate'
notify-telegram: true
node-version: '20.x'
always-auth: 'true'
build-script-name: 'build'
test: true
test-script-name: 'test'
secrets:
env: |
{ "PL_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }}, "MI_LICENSE": ${{ toJSON(secrets.MI_LICENSE) }} }
TELEGRAM_NOTIFICATION_TARGET: ${{ secrets.TG_CHANNEL_MIBUILDS }}
TELEGRAM_API_TOKEN: ${{ secrets.TG_CI_BOT_TOKEN }}