Skip to content

[Snyk] Upgrade node-fetch from 2.6.9 to 2.7.0 #68

[Snyk] Upgrade node-fetch from 2.6.9 to 2.7.0

[Snyk] Upgrade node-fetch from 2.6.9 to 2.7.0 #68

Workflow file for this run

name: Node.js CI
on:
push:
branches: [ '*' ]
pull_request:
branches: [ '*' ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [16.x, 18.x]
steps:
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
- run: npm run build -if-present
- run: npm test
codecov:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: 18.x
- run: npm ci
- run: npm run build -if-present
- run: npm run c8
- run: npm run lcov
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}