Skip to content

Replace nock with fetch-mock #325

Replace nock with fetch-mock

Replace nock with fetch-mock #325

Workflow file for this run

name: CI
on:
push:
branches: [ main ]
pull_request:
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
markdownlint-cli:
name: Lint markdown
runs-on: ubuntu-latest
steps:
- name: Checkout Code
uses: actions/checkout@v4
- name: Run markdownlint-cli
uses: nosborn/[email protected]
with:
files: .
config_file: ".markdownlint.yaml"
test:
needs: [markdownlint-cli]
runs-on: ubuntu-latest
name: Node.js ${{ matrix.node-version }}
strategy:
matrix:
node-version: [18.x, 20.x]
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
- run: npm i
- run: npm run clean
- run: npm test
- run: npm run format-check
- run: npm run build