Skip to content

Bump fetch-mock from 9.11.0 to 11.1.5 #115

Bump fetch-mock from 9.11.0 to 11.1.5

Bump fetch-mock from 9.11.0 to 11.1.5 #115

Workflow file for this run

name: Tests
on:
pull_request:
branches:
- master
- develop
- rc
jobs:
units:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x, 20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build --if-present
- run: npm run test
consumer-tests:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: |
npm ci
npm run build
cd tests/consumers/cjs && npm install && npm run test
cd ../esm && npm install && npm run test
cd ../ts-local && npm install && npm run test
linting:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [20.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run lint