Files
svgedit/.github/workflows/npmpublish.yml
JFH ec3e0522df Fixes issue with xy panel (#935)
* update deps

* fixes #930

* update workflow

* Update TopPanel.js

* fix side effects

* Update utilities-performance.cy.js
2023-12-09 17:17:10 +01:00

36 lines
713 B
YAML

name: manage npm release
on:
release:
types: [created]
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.x
- run: |
npm ci
npm run build --workspace=packages/svgcanvas
npm run lint
npm run test
npm run build
publish-npm:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20
registry-url: https://registry.npmjs.org/
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}