fix(): Use path instance context for exporting the path svg #2677
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
# This workflow will install Uglify and verify that fabric can be build with it | |
name: Pr quality check | |
on: | |
pull_request: | |
branches: [ master, 5.x ] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Uglyfied build | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- run: npm install [email protected] | |
- run: npm run build | |
lint: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Linting | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- run: npm install [email protected] | |
- run: npm run lint | |
coverage: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Coverage report | |
uses: actions/setup-node@v1 | |
with: | |
node-version: 16.x | |
- run: npm ci | |
- run: npm run build:fast | |
- run: npm run test:coverage && npm run test:visual:coverage | |
- uses: ChristiaanScheermeijer/[email protected] | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
test-command: "npm run coverage:report" |