Skip to content

Merge pull request #8797 from processing/dependabot/npm_and_yarn/mult… #8289

Merge pull request #8797 from processing/dependabot/npm_and_yarn/mult…

Merge pull request #8797 from processing/dependabot/npm_and_yarn/mult… #8289

Workflow file for this run

name: Testing
on:
push:
branches:
- main
pull_request:
branches:
- '*'
permissions:
contents: read
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@34e114876b0b11c390a56381ad16ebd13914f8d5 # v4.3.1
with:
persist-credentials: false
- name: Use Node.js 20.x
uses: actions/setup-node@49933ea5288caeca8642d1e84afbd3f7d6820020 # v4.4.0
with:
node-version: 20.x
- name: Get node modules
run: npm ci
env:
CI: true
- name: build and test
run: npm test
env:
CI: true
- name: report test coverage
if: always() && hashFiles('coverage/coverage-final.json') != ''
uses: codecov/codecov-action@671740ac38dd9b0130fbe1cec585b89eea48d3de # v5
with:
files: coverage/coverage-final.json
fail_ci_if_error: false