Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

handle svg as string or DOM element #2291

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 17 additions & 4 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -1,26 +1,39 @@
# 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
name: Pdfmake branch ci

on: [push, pull_request]
on:
release:
types: [published]
workflow_dispatch:
push:
branches: [ "master" ]

jobs:
build:

runs-on: ${{ matrix.os }}
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}

strategy:
fail-fast: false
matrix:
os: [ubuntu-latest, windows-latest, macos-latest]
node-version: [12.x, 14.x, 16.x]
node-version: [14.x]

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
registry-url: 'https://npm.pkg.github.com'
scope: '@mbc-agentur'
- run: npm install
- run: npm test
- run: npm run build

- name: Publish @mbc-agentur/pdfmake
if: ${{ github.event_name == 'release' }}
run: npm publish
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ package-lock.json
yarn.lock
.idea
/js
/build/
27 changes: 0 additions & 27 deletions build/fonts/Roboto.js

This file was deleted.

Binary file removed build/fonts/Roboto/Roboto-Italic.ttf
Binary file not shown.
Binary file removed build/fonts/Roboto/Roboto-Medium.ttf
Binary file not shown.
Binary file removed build/fonts/Roboto/Roboto-MediumItalic.ttf
Binary file not shown.
Binary file removed build/fonts/Roboto/Roboto-Regular.ttf
Binary file not shown.
Loading