Skip to content

Commit

Permalink
Migrate from Parcel to Rollup; from Travis CI to GitHub actions (#16)
Browse files Browse the repository at this point in the history
* Migrate from Parcel to Rollup; from Travis CI to GitHub actions

* Move build tools to dev deps

* Fix ci
  • Loading branch information
kubk authored Jan 25, 2022
1 parent 89614bc commit c646673
Show file tree
Hide file tree
Showing 8 changed files with 10,641 additions and 7,035 deletions.
36 changes: 36 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: tests

on:
push:
branches: [ master ]
pull_request:
branches: [ master ]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [16.x]

steps:
- uses: actions/checkout@v2

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

- name: Build
run: npm i

- name: TypeScript
run: npm run typecheck

- name: Test
run: npm test

- name: Check size
run: npm run build && npm run bundlesize

1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ dist
examples/node_modules
examples/.cache
examples/dist
types
Loading

0 comments on commit c646673

Please sign in to comment.