convert to base64 before export as CORS restrictions would break the … #118
Workflow file for this run
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: Node CI | |
on: [pull_request] | |
# To be able to write in the PR, we need write permission. | |
permissions: | |
pull-requests: write | |
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 - removed for now | |
# uses: sidx1024/[email protected] | |
# 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" | |