-
Notifications
You must be signed in to change notification settings - Fork 467
35 lines (32 loc) · 1.01 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
name: ⚙️ Build
on:
pull_request:
push:
branches: [main]
jobs:
libs:
if: ${{ !contains(github.head_ref, 'release/') }}
name: Build packages
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npm run run-many:build:libs
- run: npx ts-node ./scripts/check-dist.ts
demo:
if: ${{ !contains(github.head_ref, 'release/') }}
name: Prerender of demo application
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- uses: taiga-family/ci/actions/setup/[email protected]
- run: npx nx prerender demo
- run: npx --yes bundlemon --config .github/.bundlemonrc.json
continue-on-error: true
env:
CI_COMMIT_SHA: ${{ env.CI_COMMIT_SHA }}
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true