File tree Expand file tree Collapse file tree 1 file changed +37
-0
lines changed
Expand file tree Collapse file tree 1 file changed +37
-0
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+
3+ on :
4+ push :
5+ branches : [ development, master ]
6+ pull_request :
7+ branches : [ development, master ]
8+
9+ jobs :
10+ build :
11+
12+ runs-on : ubuntu-latest
13+
14+ steps :
15+ - uses : actions/checkout@v2
16+ - name : Use Node.js 14.x
17+ uses : actions/setup-node@v1
18+ with :
19+ node-version : 14.x
20+ - name : Get yarn cache path
21+ id : yarn-cache-path
22+ run : echo "::set-output name=dir::$(yarn cache dir)"
23+ - uses : actions/cache@v2
24+ id : yarn-cache
25+ with :
26+ path : ${{ steps.yarn-cache-path.outputs.dir }}
27+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
28+ restore-keys : |
29+ ${{ runner.os }}-yarn
30+ - run : yarn
31+ - run : touch .env
32+ - run : yarn l10n:generate
33+ - run : yarn lint
34+ - run : COVERAGE=true yarn test
35+ - run : ROOT_URL=open-event-frontend yarn build -prod
36+ - name : Code Coverage
37+ uses : codecov/codecov-action@v1
You can’t perform that action at this time.
0 commit comments