feat: add fetch imp as third param in custom fetch #64
Workflow file for this run
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
name: CI | |
on: | |
pull_request: | |
paths-ignore: ["**.md"] | |
push: | |
branches: ["main"] | |
paths-ignore: ["**.md"] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node: [18.x, 20.x] | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v4 | |
- name: Use node@${{ matrix.node }} | |
uses: actions/setup-node@v4 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Install dependencies | |
run: npm ci | |
- name: Lint code | |
run: npm run lint | |
- name: Install Playwright Browsers | |
run: npx playwright install --with-deps chromium | |
- name: Run tests | |
run: npm run ci:test | |
- name: Report code coverage | |
uses: codecov/codecov-action@v3 |