1
0
mirror of https://github.com/dzeiocom/libs.git synced 2025-04-25 20:32:12 +00:00
libs/.github/workflows/node.js.yml
dependabot[bot] f691cfff25
Bump codecov/codecov-action from 1.0.13 to 2.1.0 (#34)
Bumps [codecov/codecov-action](https://github.com/codecov/codecov-action) from 1.0.13 to 2.1.0.
- [Release notes](https://github.com/codecov/codecov-action/releases)
- [Changelog](https://github.com/codecov/codecov-action/blob/master/CHANGELOG.md)
- [Commits](https://github.com/codecov/codecov-action/compare/v1.0.13...v2.1.0)

---
updated-dependencies:
- dependency-name: codecov/codecov-action
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-09-28 16:01:49 +02:00

47 lines
1.3 KiB
YAML

# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [ master ]
pull_request:
branches: [ master ]
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2.4.1
with:
node-version: ${{ matrix.node-version }}
- name: Upgrade NPM
run: npm -g install npm
- name: Install packages
run: npm i --workspaces
- name: Build packages
run: npm run build --workspaces --if-present
- name: Test packages
run: npm run test --workspaces --if-present
# You may pin to the exact commit or the version.
# uses: codecov/codecov-action@6004246f47ab62d32be025ce173b241cd84ac58e
- uses: codecov/codecov-action@v2.1.0
with:
# Comma-separated list of files to upload
files: ./packages/url-manager/coverage/coverage-final.json,./packages/object-util/coverage/coverage-final.json,./packages/easy-sitemap/coverage/coverage-final.json # optional