Skip to content

Commit ee29421

Browse files
committed
Update the test job with some caching, and add a new one for build operations
1 parent d5862f5 commit ee29421

File tree

1 file changed

+21
-2
lines changed

1 file changed

+21
-2
lines changed

.github/workflows/test.yml

Lines changed: 21 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,24 @@ jobs:
1515
runs-on: ubuntu-latest
1616
steps:
1717
- uses: actions/checkout@v2
18-
- run: yarn
19-
- run: yarn test
18+
- uses: actions/setup-node@v2
19+
with:
20+
node-version: '14'
21+
cache: 'yarn'
22+
- run: yarn install
23+
- run: yarn lint
24+
- run: yarn test:only
25+
26+
build:
27+
runs-on: ubuntu-latest
28+
steps:
29+
- uses: actions/checkout@v2
30+
- uses: actions/setup-node@v2
31+
with:
32+
node-version: '14'
33+
cache: 'yarn'
34+
- run: yarn install
35+
- run: yarn build:dist
36+
- run: yarn build:es5
37+
- run: yarn build:es6
38+
- run: yarn build:examples

0 commit comments

Comments
 (0)