File tree Expand file tree Collapse file tree 2 files changed +46
-20
lines changed Expand file tree Collapse file tree 2 files changed +46
-20
lines changed Original file line number Diff line number Diff line change 1+ name : CI
2+ on : [push, pull_request, workflow_dispatch]
3+
4+ jobs :
5+ build :
6+ name : Build
7+ runs-on : ubuntu-latest
8+
9+ steps :
10+ - uses : actions/checkout@v2
11+ - uses : actions/setup-node@v1
12+ with :
13+ node-version : ' 15.x'
14+
15+ - name : Get Yarn cache dir
16+ id : yarn-cache-dir
17+ run : echo "::set-output name=dir::$(yarn cache dir)"
18+ - uses : actions/cache@v2
19+ with :
20+ path : ${{ steps.yarn-cache-dir.outputs.dir }}
21+ key : ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
22+ restore-keys : |
23+ ${{ runner.os }}-yarn-
24+
25+ - name : Download ultimate-crosscode-typedefs
26+ uses : actions/checkout@v2
27+ with :
28+ repository : dmitmel/ultimate-crosscode-typedefs
29+ path : ultimate-crosscode-typedefs
30+ - name : Set up ultimate-crosscode-typedefs
31+ working-directory : ultimate-crosscode-typedefs
32+ run : |
33+ yarn install --production --no-lockfile
34+ yarn link
35+
36+ - name : Install dependencies
37+ run : |
38+ yarn link ultimate-crosscode-typedefs
39+ yarn install --frozen-lockfile
40+
41+ - name : Build
42+ run : yarn run build
43+ - name : Lint
44+ run : yarn run lint
45+ - name : Check formatting
46+ run : yarn run check-fmt
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments