File tree Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Expand file tree Collapse file tree 1 file changed +3
-28
lines changed Original file line number Diff line number Diff line change 1717 - name : Install Yarn dependencies
1818 run : yarn --immutable
1919
20- build-source :
21- name : Build source
20+ build :
21+ name : Build
2222 runs-on : ubuntu-latest
2323 needs :
2424 - prepare
3333 node-version : ${{ matrix.node-version }}
3434 cache : ' yarn'
3535 - run : yarn --immutable --immutable-cache
36- - run : yarn build:source
37- - name : Require clean working directory
38- shell : bash
39- run : |
40- if ! git diff --exit-code; then
41- echo "Working tree dirty at end of job"
42- exit 1
43- fi
44-
45- build-types :
46- name : Build types
47- runs-on : ubuntu-latest
48- needs :
49- - prepare
50- strategy :
51- matrix :
52- node-version : [16.x, 18.x, 20.x]
53- steps :
54- - uses : actions/checkout@v3
55- - name : Use Node.js ${{ matrix.node-version }}
56- uses : actions/setup-node@v3
57- with :
58- node-version : ${{ matrix.node-version }}
59- cache : ' yarn'
60- - run : yarn --immutable --immutable-cache
61- - run : yarn build:types
36+ - run : yarn build
6237 # This step is dependent on the TypeScript build output, so it's run
6338 # here, rather than in the test job.
6439 - run : yarn test:types
You can’t perform that action at this time.
0 commit comments