Skip to content

Commit c33a9fe

Browse files
authored
Adjust GitHub actions and other small fixes (Merge PR #9)
2 parents 87847eb + ee29421 commit c33a9fe

3 files changed

Lines changed: 32 additions & 28 deletions

File tree

.github/stale.yml

Lines changed: 0 additions & 17 deletions
This file was deleted.

.github/workflows/test.yml

Lines changed: 32 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,38 @@
11
name: test
2-
on: [push, pull_request]
2+
3+
on:
4+
# Trigger the workflow on push or pull request,
5+
# but only for the master branch
6+
push:
7+
branches:
8+
- master
9+
pull_request:
10+
branches:
11+
- master
12+
313
jobs:
414
test:
515
runs-on: ubuntu-latest
616
steps:
717
- uses: actions/checkout@v2
8-
- run: yarn
9-
- 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

.travis.yml

Lines changed: 0 additions & 8 deletions
This file was deleted.

0 commit comments

Comments
 (0)