@@ -13,8 +13,6 @@ jobs:
|
||||
uses: https://github.com/actions/setup-node@v3
|
||||
with:
|
||||
node-version: '20.18'
|
||||
- run: apt-get install chromium-browser
|
||||
name: Install chromium
|
||||
- run: npm i
|
||||
name: Install dependencies
|
||||
- run: node index.mjs
|
||||
|
||||
@@ -16,9 +16,7 @@ const contas = {
|
||||
|
||||
async function parseLogRocketBlogHome(conta) {
|
||||
// Launch the browser
|
||||
const browser = await puppeteer.launch({
|
||||
executablePath: "/usr/bin/chromium-browser",
|
||||
});
|
||||
const browser = await puppeteer.launch();
|
||||
|
||||
// Open a new tab
|
||||
const page = await browser.newPage();
|
||||
|
||||
Reference in New Issue
Block a user