Skip to content

Commit dcde578

Browse files
author
Joel Denning
authored
Switch to Github Actions and pnpm (#70)
1 parent 1101b22 commit dcde578

File tree

7 files changed

+6509
-5941
lines changed

7 files changed

+6509
-5941
lines changed
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
on:
2+
- push
3+
- pull_request
4+
5+
jobs:
6+
build:
7+
runs-on: ubuntu-latest
8+
9+
steps:
10+
- uses: actions/checkout@v2
11+
- uses: actions/setup-node@v2
12+
with:
13+
node-version: "15"
14+
- uses: pnpm/action-setup@v1.2.1
15+
with:
16+
version: 5.14.1
17+
- run: pnpm install --frozen-lockfile
18+
- run: pnpm run build
19+
- run: pnpm test
20+
- run: pnpm run check-format
21+
- run: pnpm run lint

.prettierignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,5 @@
22
.gitignore
33
dist
44
LICENSE
5-
yarn.lock
5+
yarn.lock
6+
pnpm-lock.yaml

.travis.yml

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

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@
2121
"test:jest": "cross-env BABEL_ENV=test jest",
2222
"test:types": "tsd",
2323
"format": "prettier --write .",
24+
"check-format": "prettier --check .",
2425
"lint": "eslint src"
2526
},
2627
"jest": {

0 commit comments

Comments
 (0)