Skip to content

Commit 156d45c

Browse files
authored
chore: use npm instead of yarn (#47)
1 parent fe290fc commit 156d45c

File tree

4 files changed

+20497
-5790
lines changed

4 files changed

+20497
-5790
lines changed

.npmignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,5 +2,3 @@ coverage/
22
.nyc_output/
33
.vscode/
44
test/
5-
6-
yarn.lock

.travis.yml

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
dist: trusty
22
language: node_js
3-
cache: yarn
43
notifications:
54
email: false
65
node_js:
@@ -16,13 +15,14 @@ env:
1615
- PPTR_OVERRIDE_VERSION=5.x.x
1716
- PPTR_OVERRIDE_VERSION=latest
1817
before_install:
19-
- npm install -g yarn coveralls nyc @patrickhulce/scripts
18+
- npm install -g npm@7
19+
- npm install -g coveralls nyc @patrickhulce/scripts
2020
before_script:
21-
- yarn add -D "puppeteer@${PPTR_OVERRIDE_VERSION}"
22-
- yarn add -D "@types/puppeteer@${PPTR_OVERRIDE_VERSION}" || echo "No types available"
21+
- npm install -D "puppeteer@${PPTR_OVERRIDE_VERSION}"
22+
- npm install -D "@types/puppeteer@${PPTR_OVERRIDE_VERSION}" || echo "No types available"
2323
script:
24-
- yarn rebuild
25-
- yarn test:lint
26-
- yarn test:unit --coverage --runInBand --verbose
24+
- npm run rebuild
25+
- npm run test:lint
26+
- npm run test:unit --coverage --runInBand --verbose
2727
after_success:
2828
- cat coverage/lcov.info | coveralls || echo 'Failed to upload to coveralls...'

0 commit comments

Comments
 (0)