Skip to content

Commit

Permalink
move from yarn to npm and use npm ci
Browse files Browse the repository at this point in the history
  • Loading branch information
Jake Champion authored and JakeChampion committed Jan 31, 2019
1 parent 28f33e1 commit af2f86f
Show file tree
Hide file tree
Showing 5 changed files with 6,958 additions and 4,738 deletions.
40 changes: 20 additions & 20 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: cd ./.circleci/ && shasum -a 256 config.yml > checksum
- run: npm run build-circleci-config
- run: cd ./.circleci/ && shasum -a 256 -c checksum || (echo "oh no, it looks
Expand All @@ -18,29 +18,29 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: npm run lint
unit_tests:
docker:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: npm run test-library
publish_to_npm:
docker:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
- run: npm publish
test_0:
docker:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Blob
- run: node ./test/polyfills/test-individual-feature.js CustomEvent
- run: node ./test/polyfills/test-individual-feature.js DocumentFragment
Expand All @@ -57,7 +57,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js UserTiming
- run: node ./test/polyfills/test-individual-feature.js WeakMap
- run: node ./test/polyfills/test-individual-feature.js WeakSet
Expand All @@ -73,7 +73,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Array.isArray
- run: node ./test/polyfills/test-individual-feature.js Array.of
- run: node ./test/polyfills/test-individual-feature.js Event.focusin
Expand All @@ -89,7 +89,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Math.expm1
- run: node ./test/polyfills/test-individual-feature.js Math.hypot
- run: node ./test/polyfills/test-individual-feature.js Math.imul
Expand All @@ -105,7 +105,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Number.Epsilon
- run: node ./test/polyfills/test-individual-feature.js
Number.MAX_SAFE_INTEGER
Expand All @@ -123,7 +123,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Object.create
- run: node ./test/polyfills/test-individual-feature.js
Object.defineProperties
Expand All @@ -142,7 +142,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Object.setPrototypeOf
- run: node ./test/polyfills/test-individual-feature.js Object.values
- run: node ./test/polyfills/test-individual-feature.js String.fromCodePoint
Expand All @@ -159,7 +159,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Symbol.split
- run: node ./test/polyfills/test-individual-feature.js Symbol.toPrimitive
- run: node ./test/polyfills/test-individual-feature.js Symbol.toStringTag
Expand All @@ -175,7 +175,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js console.error
- run: node ./test/polyfills/test-individual-feature.js console.exception
- run: node ./test/polyfills/test-individual-feature.js console.group
Expand All @@ -191,7 +191,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js console.profiles
- run: node ./test/polyfills/test-individual-feature.js console.table
- run: node ./test/polyfills/test-individual-feature.js console.time
Expand All @@ -207,7 +207,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js
document.getElementsByClassName
- run: node ./test/polyfills/test-individual-feature.js document.querySelector
Expand All @@ -228,7 +228,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js Array.prototype.filter
- run: node ./test/polyfills/test-individual-feature.js Array.prototype.find
- run: node ./test/polyfills/test-individual-feature.js
Expand All @@ -249,7 +249,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js
Array.prototype.reduceRight
- run: node ./test/polyfills/test-individual-feature.js Array.prototype.some
Expand All @@ -273,7 +273,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js
Element.prototype.classList
- run: node ./test/polyfills/test-individual-feature.js
Expand All @@ -299,7 +299,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js
HTMLCanvasElement.prototype.toBlob
- run: node ./test/polyfills/test-individual-feature.js
Expand All @@ -324,7 +324,7 @@ jobs:
- image: circleci/node:10
steps:
- checkout
- run: yarn install --frozen-lockfile
- run: npm ci
- run: node ./test/polyfills/test-individual-feature.js
String.prototype.padEnd
- run: node ./test/polyfills/test-individual-feature.js
Expand Down

0 comments on commit af2f86f

Please sign in to comment.