Skip to content

chore: add verdaccio publishing tests to CI #276

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Mar 24, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,9 @@ coverage
/tsconfig.json
/tsconfig.module.json
package.json.decrypt

# verdaccio
/verdaccio/storage

# local npx cache
/verdaccio/.npx
2 changes: 1 addition & 1 deletion buildspec.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,4 @@ phases:
commands:
- npm test
- npm run test_conditions
- npm run integration
- npm run verdaccio
1 change: 0 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/caching-materials-manager-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/decrypt-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/encrypt-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/example-browser/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ const webpack = require('webpack')
const {defaultProvider} = require('@aws-sdk/credential-provider-node')

// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
9 changes: 7 additions & 2 deletions modules/integration-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()
const { readFileSync } = require('fs')

module.exports = function (config) {
Expand Down Expand Up @@ -55,7 +54,13 @@ module.exports = function (config) {
customLaunchers: {
ChromeHeadlessDisableCors: {
base: 'ChromeHeadless',
flags: ['--disable-web-security', '--no-sandbox']
flags: [
'--headless',
'--disable-web-security',
'--no-sandbox',
'--disable-setuid-sandbox',
'--enable-logging',
]
}
},
singleRun: true,
Expand Down
1 change: 0 additions & 1 deletion modules/integration-browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
"karma-json-fixtures-preprocessor": "0.0.6",
"karma-webpack": "^4.0.2",
"karma-parallel": "^0.3.1",
"puppeteer": "^2.1.1",
"stream-to-promise": "^2.2.0",
"tslib": "^1.9.3",
"yauzl": "^2.10.0",
Expand Down
1 change: 0 additions & 1 deletion modules/kms-keyring-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/material-management-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/raw-aes-keyring-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/raw-rsa-keyring-browser/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
1 change: 0 additions & 1 deletion modules/web-crypto-backend/karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
// Karma configuration
process.env.CHROME_BIN = require('puppeteer').executablePath()

module.exports = function (config) {
config.set({
Expand Down
Loading