-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
96e641f
commit 84a7eeb
Showing
1 changed file
with
17 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,7 +31,23 @@ jobs: | |
- name: Checkout | ||
|
||
uses: actions/checkout@v3 | ||
|
||
- name: Set up Node.js | ||
uses: actions/setup-node@v2 | ||
with: | ||
node-version: '16' | ||
- name: Install dependencies | ||
run: npm install | ||
- name: Run Puppeteer tests | ||
run: | | ||
node -e "const puppeteer = require('puppeteer'); (async () => { | ||
const browser = await puppeteer.launch({ | ||
args: ['--no-sandbox', '--disable-setuid-sandbox'] | ||
}); | ||
const page = await browser.newPage(); | ||
await page.goto('https://example.com'); | ||
console.log(await page.title()); | ||
await browser.close(); | ||
})();" | ||
- name: Validate OpenAPI definition | ||
|
||
uses: char0n/[email protected] | ||
|