diff --git a/.airtap.yml b/.airtap.yml index b28bb6c..225fb41 100644 --- a/.airtap.yml +++ b/.airtap.yml @@ -1,23 +1,7 @@ providers: - - airtap-sauce + - airtap-playwright browsers: - - name: chrome + - name: chromium - name: firefox - # https://github.com/airtap/sauce/issues/11 - # - name: safari - # version: 12..latest - - name: ios_saf - version: 12..latest - - name: chrome for android - version: 6..latest - - name: msedge - -presets: - local: - providers: - - airtap-playwright - browsers: - - name: chromium - - name: firefox - - name: webkit + - name: webkit diff --git a/.github/workflows/sauce.yml b/.github/workflows/browsers.yml similarity index 50% rename from .github/workflows/sauce.yml rename to .github/workflows/browsers.yml index 0147786..6b543f5 100644 --- a/.github/workflows/sauce.yml +++ b/.github/workflows/browsers.yml @@ -1,8 +1,7 @@ -name: Sauce Labs -on: push +name: Browsers +on: [push, pull_request] permissions: contents: read -concurrency: sauce-labs jobs: test: name: Test @@ -17,13 +16,7 @@ jobs: node-version: 16 - name: Install run: npm install - env: - # Download Sauce Connect binary now instead of on first run - SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true - - name: Add host - run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts + - name: Install Playwright + run: npx playwright install-deps - name: Test run: npm run test-browsers - env: - SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }} - SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }} diff --git a/README.md b/README.md index ec4c9f1..526059e 100644 --- a/README.md +++ b/README.md @@ -194,9 +194,7 @@ const xyz = db.sublevel('xyz', { valueEncoding: 'json' }) ## Supported Platforms -We aim to support Active LTS and Current Node.js releases as well as browsers. Supported runtime environments may differ per implementation. As far as `abstract-level` goes, the following browsers are supported and continuously tested. - -[![Sauce Test Status](https://app.saucelabs.com/browser-matrix/abstract-leveldown.svg)](https://app.saucelabs.com/u/abstract-leveldown) +We aim to support Active LTS and Current Node.js releases, as well as evergreen browsers that are based on Chromium, Firefox or Webkit. Supported runtime environments may differ per implementation. ## Public API For Consumers @@ -1426,12 +1424,6 @@ npm install abstract-level See the [Contribution Guide](https://github.com/Level/community/blob/master/CONTRIBUTING.md) for more details. -## Big Thanks - -Cross-browser Testing Platform and Open Source ♥ Provided by [Sauce Labs](https://saucelabs.com). - -[![Sauce Labs logo](./sauce-labs.svg)](https://saucelabs.com) - ## Donate Support us with a monthly donation on [Open Collective](https://opencollective.com/level) and help us continue our work. diff --git a/package.json b/package.json index 81c2425..53ca2d5 100644 --- a/package.json +++ b/package.json @@ -11,7 +11,6 @@ "scripts": { "test": "standard && ts-standard *.ts types/*.ts && hallmark && (nyc -s node test/self.js | faucet) && nyc report", "test-browsers": "airtap --coverage test/self.js", - "test-browsers-local": "airtap --coverage -p local test/self.js", "coverage": "nyc report -r lcovonly" }, "files": [ @@ -24,8 +23,7 @@ "test", "types", "CHANGELOG.md", - "UPGRADING.md", - "sauce-labs.svg" + "UPGRADING.md" ], "dependencies": { "buffer": "^6.0.3", @@ -41,7 +39,6 @@ "@voxpelli/tsconfig": "^4.0.0", "airtap": "^4.0.4", "airtap-playwright": "^1.0.1", - "airtap-sauce": "^1.1.0", "faucet": "^0.0.3", "hallmark": "^4.0.0", "nyc": "^15.1.0", diff --git a/sauce-labs.svg b/sauce-labs.svg deleted file mode 100644 index 574cf16..0000000 --- a/sauce-labs.svg +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Sauce Labs - - - - - - - - - - - - - - - -