-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In package.json, add an override for `@types/puppeteer-core` from 5.x to 7.0.4 because 5.x had an absurd dependency on `puppeteer: *` instead of `puppeteer-code: *`, thus despite having absolutely no need for a copy of Headless Chrome or Puppeteer, it was being downloaded in full, and thus crash CI builds due to the old binary no longer being installable. How? ``` - karma-launcher-saucelabs - webdriverio 6.12 - @types/puppeteer-core 5.x - puppeteer * (latest) ```
- Loading branch information
Showing
9 changed files
with
88 additions
and
8,712 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,40 @@ | ||
name: CI | ||
on: | ||
- push | ||
- pull_request | ||
|
||
jobs: | ||
|
||
test: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- node: 14.x | ||
- node: 16.x | ||
- node: 18.x | ||
- node: 20.x | ||
|
||
name: Node.js ${{ matrix.node }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- name: Install Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: ${{ matrix.node }} | ||
|
||
- run: npm install | ||
|
||
- run: npm test | ||
|
||
coverage: | ||
name: Coverage | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: npm install | ||
|
||
- run: npm run coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
name: Browsers | ||
on: | ||
push: | ||
branches: | ||
- main | ||
# Or manually | ||
workflow_dispatch: | ||
|
||
jobs: | ||
|
||
test: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.repository == 'js-reporters/js-reporters' }} # skip on forks, needs secret | ||
steps: | ||
- uses: actions/checkout@v4 | ||
|
||
- run: npm install | ||
|
||
- run: npm run lint | ||
|
||
- run: npm run test-browser-sauce | ||
env: | ||
SAUCE_USERNAME: "${{ secrets.SAUCE_USERNAME }}" | ||
SAUCE_REGION: "${{ secrets.SAUCE_REGION }}" | ||
SAUCE_ACCESS_KEY: "${{ secrets.SAUCE_ACCESS_KEY }}" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,3 +4,4 @@ | |
/node_modules | ||
/log | ||
/*.log | ||
/package-lock.json |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.