Skip to content

Commit

Permalink
Merge pull request #154 from kmkzt/release/v2
Browse files Browse the repository at this point in the history
  • Loading branch information
kmkzt authored May 17, 2020
2 parents 4d47d20 + eb206c4 commit 6492809
Show file tree
Hide file tree
Showing 26 changed files with 4,339 additions and 4,974 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
yarn install
- name: Build
run: |
yarn build:demo
yarn demo
- name: Deploy
uses: peaceiris/actions-gh-pages@v3
with:
Expand Down
48 changes: 48 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: CI
on:
push:
branches:
- master
pull_request:
branches:
- master
jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [10.x, 12.13.0]

steps:
- name: Begin CI...
uses: actions/checkout@v2

- name: Use Node ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}

- name: Use cached node_modules
uses: actions/cache@v1
with:
path: node_modules
key: nodeModules-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
nodeModules-
- name: Install dependencies
# TODO: add check yarn.lock
# run: yarn install --frozen-lockfile
run: yarn install
env:
CI: true

- name: Lint
run: yarn lint
env:
CI: true

- name: Test
run: yarn test
env:
CI: true
24 changes: 12 additions & 12 deletions .size-snapshot.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,26 @@
{
"lib/index.esm.js": {
"bundled": 10395,
"minified": 6137,
"gzipped": 1996,
"bundled": 19496,
"minified": 12201,
"gzipped": 3683,
"treeshaked": {
"rollup": {
"code": 15,
"import_statements": 15
"code": 65,
"import_statements": 0
},
"webpack": {
"code": 1022
"code": 1016
}
}
},
"lib/index.cjs.js": {
"bundled": 13330,
"minified": 7500,
"gzipped": 2305
"bundled": 25826,
"minified": 14794,
"gzipped": 4304
},
"lib/index.min.js": {
"bundled": 6174,
"minified": 6162,
"gzipped": 2089
"bundled": 11963,
"minified": 11954,
"gzipped": 3738
}
}
121 changes: 0 additions & 121 deletions CHANGELOG.md

This file was deleted.

Loading

0 comments on commit 6492809

Please sign in to comment.