Fixed actions
Build and publish / build (push) Failing after 46s

This commit is contained in:
Lino Silva
2024-10-14 23:13:52 +01:00
parent 59f6f90664
commit 4ddcfd33cf
2 changed files with 1 additions and 5 deletions
-2
View File
@@ -13,8 +13,6 @@ jobs:
uses: https://github.com/actions/setup-node@v3 uses: https://github.com/actions/setup-node@v3
with: with:
node-version: '20.18' node-version: '20.18'
- run: apt-get install chromium-browser
name: Install chromium
- run: npm i - run: npm i
name: Install dependencies name: Install dependencies
- run: node index.mjs - run: node index.mjs
+1 -3
View File
@@ -16,9 +16,7 @@ const contas = {
async function parseLogRocketBlogHome(conta) { async function parseLogRocketBlogHome(conta) {
// Launch the browser // Launch the browser
const browser = await puppeteer.launch({ const browser = await puppeteer.launch();
executablePath: "/usr/bin/chromium-browser",
});
// Open a new tab // Open a new tab
const page = await browser.newPage(); const page = await browser.newPage();