Skip to content

Commit c1b4248

Browse files
authored
Merge pull request #1222 from dxc-technology/agonzalez97-workflow
Added type checking website in workflow pull request
2 parents e1838e0 + 3f7d696 commit c1b4248

File tree

1 file changed

+30
-26
lines changed

1 file changed

+30
-26
lines changed

.github/workflows/pull-request.yml

Lines changed: 30 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,38 @@
11
name: Build and test
22

3-
on:
4-
pull_request
3+
on: pull_request
54

65
jobs:
76
build:
87
runs-on: ubuntu-latest
98

109
steps:
11-
- name: Checkout repository
12-
uses: actions/checkout@v2
13-
14-
- name: Install Node.js 14.x
15-
uses: actions/setup-node@v1
16-
with:
17-
node-version: 14.x
18-
registry-url: https://registry.npmjs.org/
19-
20-
- name: Install lib dependencies
21-
run: cd lib && npm install
22-
23-
- name: Build library
24-
run: cd lib && npm run build
25-
26-
- name: Install docs dependencies
27-
run: cd docs && npm install
28-
29-
- name: Test library
30-
run: cd lib && npm run test
31-
32-
- name: Build docs
33-
run: cd docs && npm run build
34-
10+
- name: Checkout repository
11+
uses: actions/checkout@v2
12+
13+
- name: Install Node.js 14.x
14+
uses: actions/setup-node@v1
15+
with:
16+
node-version: 14.x
17+
registry-url: https://registry.npmjs.org/
18+
19+
- name: Install lib dependencies
20+
run: cd lib && npm install
21+
22+
- name: Build library
23+
run: cd lib && npm run build
24+
25+
- name: Install docs dependencies
26+
run: cd docs && npm install
27+
28+
- name: Install website dependencies
29+
run: cd website && yarn
30+
31+
- name: Test library
32+
run: cd lib && npm run test
33+
34+
- name: Build docs
35+
run: cd docs && npm run build
36+
37+
- name: Build website
38+
run: cd website && yarn build

0 commit comments

Comments
 (0)