-
-
Notifications
You must be signed in to change notification settings - Fork 2
55 lines (49 loc) · 1.23 KB
/
build-and-deploy.yml
File metadata and controls
55 lines (49 loc) · 1.23 KB
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
name: Build and Deploy
on:
push:
branches:
- main
permissions:
contents: write
jobs:
build-and-deploy:
concurrency: ci-${{ github.ref }}
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v5
- uses: pnpm/action-setup@v4
name: Install pnpm
with:
run_install: false
- name: install
run: pnpm install --frozen-lockfile
- name: Build 🔧
run: pnpm build
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist/angular-intl-demo/browser
# ToDo: investigate coverage reporting
# report-coverage:
# concurrency: ci-${{ github.ref }}
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
#
# - uses: pnpm/action-setup@v4
# name: Install pnpm
# with:
# run_install: false
#
# - name: install
# run: pnpm install --frozen-lockfile
#
# - name: test
# run: pnpm test --watch=false --browsers=ChromeHeadless
#
# - name: Upload coverage reports to Codecov
# uses: codecov/codecov-action@v5
# env:
# CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}