Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop using Sauce Labs #15

Merged
merged 1 commit into from
Nov 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 2 additions & 17 deletions .airtap.yml
Original file line number Diff line number Diff line change
@@ -1,21 +1,6 @@
providers:
- airtap-sauce
- airtap-playwright

browsers:
- name: chrome
- name: chromium
- name: firefox
- 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
19 changes: 6 additions & 13 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,27 +10,20 @@ jobs:
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use node 16
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16
node-version: lts/*
- name: Install
run: npm install
env:
# Download Sauce Connect binary now instead of on first run
SAUCE_CONNECT_DOWNLOAD_ON_INSTALL: true
run: npm install --ignore-scripts
- name: Add host
run: echo "127.0.0.1 airtap.local" | sudo tee -a /etc/hosts
- name: Install Playwright dependencies
run: npx --no-install playwright install-deps
- name: Install Playwright
run: npx playwright install-deps
run: npx --no-install playwright install
- name: Test
run: npm test
# TODO
# - name: Test
# run: npm run test-browsers
# env:
# SAUCE_USERNAME: ${{ secrets.SAUCE_USERNAME }}
# SAUCE_ACCESS_KEY: ${{ secrets.SAUCE_ACCESS_KEY }}
- name: Coverage
run: npm run coverage
- name: Codecov
Expand Down
10 changes: 0 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,10 +50,6 @@ for await (const [key, value] of db.iterator({ gt: 'a' })) {
}
```

<!-- ## Browser Support -->

<!-- [![Sauce Test Status](https://app.saucelabs.com/browser-matrix/level-js.svg)](https://app.saucelabs.com/u/level-js) -->

## API

The API of `browser-level` follows that of [`abstract-level`](https://github.com/Level/abstract-level) with just two additional constructor options (see below) and one additional method (see below). As such, the majority of the API is documented in `abstract-level`. The `createIfMissing` and `errorIfExists` options of `abstract-level` are not supported here.
Expand Down Expand Up @@ -118,12 +114,6 @@ npm install browser-level

This module is best used with [`browserify`](http://browserify.org) or similar bundlers.

<!-- ## 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) -->

## Contributing

[`Level/browser-level`](https://github.com/Level/browser-level) is an **OPEN Open Source Project**. This means that:
Expand Down
9 changes: 3 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,7 @@
"main": "index.js",
"types": "./index.d.ts",
"scripts": {
"test": "standard && hallmark && airtap -p local --coverage test/index.js && nyc report",
"test-browsers": "standard && airtap --coverage test/index.js",
"test": "standard && hallmark && airtap --coverage test/index.js && nyc report",
"coverage": "nyc report -r lcovonly",
"dependency-check": "dependency-check --no-dev .",
"prepublishOnly": "npm run dependency-check"
Expand All @@ -19,8 +18,7 @@
"iterator.js",
"util",
"CHANGELOG.md",
"UPGRADING.md",
"sauce-labs.svg"
"UPGRADING.md"
],
"dependencies": {
"abstract-level": "^1.0.2",
Expand All @@ -30,9 +28,8 @@
},
"devDependencies": {
"@voxpelli/tsconfig": "^4.0.0",
"airtap": "^4.0.4",
"airtap": "^5.0.0",
"airtap-playwright": "^1.0.1",
"airtap-sauce": "^1.1.0",
"dependency-check": "^4.1.0",
"hallmark": "^4.1.0",
"nyc": "^15.0.0",
Expand Down
81 changes: 0 additions & 81 deletions sauce-labs.svg

This file was deleted.

Loading