Skip to content

Commit

Permalink
Update swagger-editor.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Jadavpadma authored Jan 16, 2025
1 parent 96e641f commit 84a7eeb
Showing 1 changed file with 17 additions and 1 deletion.
18 changes: 17 additions & 1 deletion .github/workflows/swagger-editor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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]
Expand Down

0 comments on commit 84a7eeb

Please sign in to comment.