forked from dxc-technology/halstack-angular
-
Notifications
You must be signed in to change notification settings - Fork 3
36 lines (26 loc) · 827 Bytes
/
pull-request.yml
File metadata and controls
36 lines (26 loc) · 827 Bytes
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
name: Build and test
on:
pull_request
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v2
- name: Install Node.js 12.x
uses: actions/setup-node@v1
with:
node-version: 12.x
registry-url: https://registry.npmjs.org/
- name: Install lib dependencies
run: cd ./projects/dxc-ngx-cdk && rm -rf node_modules && npm install
- name: Install app dependencies
run: cd . && npm install
- name: Generate lib
run: cd ./projects/dxc-ngx-cdk && npm run generate-lib
- name: Link lib
run: cd . && npm run link-lib
- name: Test library
run: cd ./projects/dxc-ngx-cdk && npm run test
- name: Build angular cdk site
run: cd . && npm run build-next-cdk-site