mirror of
https://github.com/DIYgod/RSSHub.git
synced 2025-12-12 08:10:32 +08:00
chore: skip stealth test in github actions
ref: https://docs.github.com/en/actions/learn-github-actions/variables#default-environment-variables
This commit is contained in:
@@ -42,7 +42,7 @@ describe('puppeteer', () => {
|
||||
browser = null;
|
||||
}, 45000);
|
||||
|
||||
if (!process.env.GH_ACTIONS) {
|
||||
if (!process.env.GITHUB_ACTIONS) {
|
||||
it('puppeteer without stealth', async () => {
|
||||
puppeteer = require('../../lib/utils/puppeteer');
|
||||
browser = await puppeteer({ stealth: false });
|
||||
|
||||
Reference in New Issue
Block a user