fix: generate random id for svg elements. Fixes #71 #33
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: [push] | |
jobs: | |
test: | |
strategy: | |
matrix: | |
node: [12, 14, 16, 18] | |
os: [ubuntu-latest] | |
runs-on: ${{ matrix.os }} | |
steps: | |
- uses: actions/checkout@v1 | |
- name: use Node.js ${{ matrix.node }} on ${{ matrix.os }} | |
uses: actions/setup-node@v1 | |
with: | |
node-version: ${{ matrix.node }} | |
- name: Run npm ci | |
run: npm ci | |
- name: Run npm build | |
run: npm run build --ifpresent | |
- name: Run npm test | |
run: npm test |