This repository was archived by the owner on Sep 20, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Expand file tree Collapse file tree 1 file changed +19
-11
lines changed Original file line number Diff line number Diff line change 11# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
22# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
33
4- name : Build & Test Components
4+ name : PR Workflow
55
66on :
7- # Trigger the workflow on push or pull request,
8- # but only for the master branch
9- push :
7+ pull_request :
108 branches :
9+ - master
1110 - develop
12- pull_request :
11+ push :
1312 branches :
1413 - develop
1514
@@ -20,15 +19,24 @@ jobs:
2019 matrix :
2120 node-version : [12.x]
2221 steps :
23- - uses : actions/checkout@v2
22+ - name : Checkout
23+ uses : actions/checkout@v2
24+
2425 - name : Use Node.js ${{ matrix.node-version }}
2526 uses : actions/setup-node@v1
2627 with :
2728 node-version : ${{ matrix.node-version }}
28- - run : yarn
29- - run : yarn bootstrap
30- - run : yarn lint
31- - run : yarn build --if-present
32- - run : yarn test
29+
30+ - name : Install dependencies
31+ run : yarn install --frozen-lockfile && yarn bootstrap
32+
33+ - name : Lint types and code
34+ run : yarn lint
35+
36+ - name : Build packages
37+ run : yarn build
38+
39+ - name : Run tests
40+ run : yarn test
3341 env :
3442 CI : true
You can’t perform that action at this time.
0 commit comments