Skip to content

Merge pull request #25 from jneuendorf-i4h/23-incorrect-deserializati… #21

Merge pull request #25 from jneuendorf-i4h/23-incorrect-deserializati…

Merge pull request #25 from jneuendorf-i4h/23-incorrect-deserializati… #21

Workflow file for this run

---
name: publish
on:
push:
branches:
- main
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm install
- run: npm run build
publish:
name: publish
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
- run: npm install
- name: publish if version has been updated
uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_AUTH_TOKEN }}
- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"