From b26dab4e9f610d7bf7dd51d7a3272f12b91cc59c Mon Sep 17 00:00:00 2001 From: Bryce Osterhaus Date: Wed, 23 Aug 2023 17:10:42 +0400 Subject: [PATCH] chore(senna): update github ci --- .github/workflows/senna.yml | 4 ++-- maintenance/projects/senna/karma.conf.js | 9 ++++++++- 2 files changed, 10 insertions(+), 3 deletions(-) diff --git a/.github/workflows/senna.yml b/.github/workflows/senna.yml index 25a64af9e..8d7e4994f 100644 --- a/.github/workflows/senna.yml +++ b/.github/workflows/senna.yml @@ -28,7 +28,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Use or update Yarn cache @@ -51,7 +51,7 @@ jobs: steps: - uses: actions/checkout@v2 - name: Use Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v3 with: node-version: ${{ matrix.node-version }} - name: Use or update Yarn cache diff --git a/maintenance/projects/senna/karma.conf.js b/maintenance/projects/senna/karma.conf.js index 3d93b083b..c527acb05 100644 --- a/maintenance/projects/senna/karma.conf.js +++ b/maintenance/projects/senna/karma.conf.js @@ -16,10 +16,17 @@ module.exports = function (config) { timeout: 35000, }, }, + customLaunchers: { + Puppeteer: { + base: 'ChromeHeadless', + flags: ['--no-sandbox', '--disable-setuid-sandbox', '--single-process'] + } + } }); + metalKarmaConfig(config); config.set({ - browsers: ['ChromeHeadless'] + browsers: ['Puppeteer'] }) };