Skip to content
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
13 changes: 5 additions & 8 deletions .github/workflows/test-compatibility.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,28 +10,25 @@ jobs:
runs-on: ubuntu-latest

steps:
- name: Checkout your repository (PR)
- name: Checkout website-scraper-puppeteer
uses: actions/checkout@v4

- name: Clone website-scraper-puppeteer
run: git clone --single-branch --branch add-compatibility-bridge https://github.com/website-scraper/website-scraper-puppeteer.git
with:
repository: website-scraper/website-scraper-puppeteer
ref: add-compatibility-bridge

- name: Set up Node.js
uses: actions/setup-node@v4
with:
node-version: '22'

- name: Install dependencies
working-directory: ./website-scraper-puppeteer
run: npm install

- name: Install version bridge package from the branch
working-directory: ./website-scraper-puppeteer
run: npm install website-scraper/website-scraper-puppeteer-version-bridge#${{ github.head_ref }} --save
run: npm install website-scraper/puppeteer-version-wrapper#${{ github.head_ref }} --save

- name: Disable AppArmor
run: echo 0 | sudo tee /proc/sys/kernel/apparmor_restrict_unprivileged_userns

- name: Run tests
working-directory: ./website-scraper-puppeteer
run: npm test
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
# website-scraper-puppeteer-version-bridge
# @website-scraper/puppeteer-version-wrapper
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@website-scraper/puppeteer-version-bridge",
"version": "0.7.0",
"description": "Version bridge to support latest versions of puppeteer inside the website-scraper-puppeteer module",
"name": "@website-scraper/puppeteer-version-wrapper",
"version": "0.1.0",
"description": "Wrapper to support latest versions of puppeteer inside the website-scraper-puppeteer module",
"type": "module",
"exports": {
".": "./index.js"
Expand Down
Loading