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'] }) };