Files
svgedit/.github/workflows/onpullrequest.yml
JFH ec3e0522df Fixes issue with xy panel (#935)
* update deps

* fixes #930

* update workflow

* Update TopPanel.js

* fix side effects

* Update utilities-performance.cy.js
2023-12-09 17:17:10 +01:00

33 lines
754 B
YAML

name: Node CI
on: [pull_request]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 20.x
- name: npm install, test and lint
run: |
npm ci
npm run build --workspace=packages/svgcanvas
npm run lint
npm run test
env:
CI: true
- name: Report NYC coverage
uses: sidx1024/report-nyc-coverage-github-action@v1.2.6
with:
# Path to coverage file generated by "nyc report".
coverage_file: "coverage/coverage-summary.json"
base_coverage_file: "coverage/coverage-summary.json"
comment_template_file: ".github/comment-template.md"