Update dependency @types/node to v18.19.42 #2012
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: Publish Coverage | |
# Run this action at every commit on every branch | |
on: [push] | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Check out repository code | |
uses: actions/checkout@v3 | |
- name: Prepare NodeJS environment | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 14.x | |
- name: Cache npm dependencies | |
uses: actions/cache@v3.3.3 | |
with: | |
path: '~/.npm' | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
# Install dependencies, than run tests and create coverage report | |
- name: Generate coverage report | |
run: | | |
npm install | |
npm run coverage | |
- name: Upload coverage to Codecov | |
uses: codecov/codecov-action@v3.1.6 | |
with: | |
token: ${{ secrets.CODECOV_TOKEN }} | |
directory: ./coverage | |
name: codecov-umbrella |