UNPKG

svg-in-png

Version:

export SVG into image, its work with recharts and any other image svg

36 lines (25 loc) 701 B
name: CI/CD on: [push, pull_request] jobs: main: # ignore all-contributors PRs if: ${{ !contains(github.head_ref, 'all-contributors') }} strategy: matrix: node-version: [14.x] runs-on: ubuntu-latest steps: - name: 🛑 Cancel Previous Runs uses: styfle/cancel-workflow-action@0.9.0 - name: Checkout repository uses: actions/checkout@v2 - name: Set up Node.js ${{ matrix.node-version }} uses: actions/setup-node@v2 with: node-version: ${{ matrix.node-version }} - name: Install dependencies run: npm install - name: 🐉 Run the tests run: npm test - name: Build run: npm run build