Skip to content

Instantly share code, notes, and snippets.

View smarlhens's full-sized avatar
💻
Learning new stuff

Samuel MARLHENS smarlhens

💻
Learning new stuff
View GitHub Profile
// [...]
steps:
// [...]
- name: Use Node.js
uses: actions/setup-node@v1
with:
node-version: '12.x'
// [...]
steps:
- name: Checkout source code
uses: actions/checkout@v2
jobs:
build:
runs-on: ubuntu-latest
steps:
"options": {
"protractorConfig": "e2e/protractor.conf.js",
"devServerTarget": "project-name:serve",
"webdriverUpdate": false
},
"configurations": {
"production": {
"devServerTarget": "project-name:serve:production"
},
"ci": {
"devServerTarget": "project-name:serve:production",
"protractorConfig": "e2e/protractor-ci.conf.js"
}
}
const config = require('./protractor.conf').config;
config.capabilities = {
browserName: 'chrome',
chromeOptions: {
args: [
'--headless',
'--no-sandbox',
'--disable-gpu',
'--disable-dev-shm-usage',
chromeOptions: {
args: ['--no-sandbox', '--disable-dev-shm-usage', '--ignore-certificate-errors'],
binary: require('puppeteer').executablePath()
}