Skip to content

Bump fetch-mock from 9.11.0 to 11.1.3 #124

Bump fetch-mock from 9.11.0 to 11.1.3

Bump fetch-mock from 9.11.0 to 11.1.3 #124

Workflow file for this run

name: Tests
on: push
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18, 20, 22]
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
- run: yarn --immutable
- run: yarn add -D @types/node@${{ matrix.node-version }}
- run: yarn tsc
- run: yarn lint --max-warnings=0
- run: yarn test --coverage
- name: Create coverage report flag
id: codecov-flag
run: echo "::set-output name=flag::node_${NODE_VERSION/./_}"
env:
NODE_VERSION: ${{ matrix.node-version }}
- uses: codecov/codecov-action@v1
with:
flags: ${{ steps.codecov-flag.outputs.flag }}