Skip to content

Commit

Permalink
Switch to Github Actions and pnpm (#70)
Browse files Browse the repository at this point in the history
  • Loading branch information
joeldenning authored Feb 3, 2021
1 parent 1101b22 commit dcde578
Show file tree
Hide file tree
Showing 7 changed files with 6,509 additions and 5,941 deletions.
21 changes: 21 additions & 0 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
on:
- push
- pull_request

jobs:
build:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "15"
- uses: pnpm/[email protected]
with:
version: 5.14.1
- run: pnpm install --frozen-lockfile
- run: pnpm run build
- run: pnpm test
- run: pnpm run check-format
- run: pnpm run lint
3 changes: 2 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,5 @@
.gitignore
dist
LICENSE
yarn.lock
yarn.lock
pnpm-lock.yaml
4 changes: 0 additions & 4 deletions .travis.yml

This file was deleted.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@
"test:jest": "cross-env BABEL_ENV=test jest",
"test:types": "tsd",
"format": "prettier --write .",
"check-format": "prettier --check .",
"lint": "eslint src"
},
"jest": {
Expand Down
Loading

0 comments on commit dcde578

Please sign in to comment.