bpmn-js-spiffworkflow/.github/workflows/publish.yml
Workflow config file is invalid. Please check your config file: yaml: line 20: mapping values are not allowed in this context

26 lines
634 B
YAML

name: Tests
# On release, run tests and deploy to NPM
on:
release:
# Job Setup
jobs:
publish:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2 #Checkout Repo
- uses: actions/setup-node@v1 #Setup Node
with:
node-version: 18
- run: npm install
- run: npm test
- uses: JS-DevTools/npm-publish@v1
with:
token: ${{ secrets.NPM_TOKEN }}
access: public
- if: steps.publish.outputs.type != 'none'
run: |
echo "Version changed: ${{ steps.publish.outputs.old-version }} => ${{ steps.publish.outputs.version }}"