Skip to content

Merge pull request #16 from ant-media/supportMp3VoD #1

Merge pull request #16 from ant-media/supportMp3VoD

Merge pull request #16 from ant-media/supportMp3VoD #1

Workflow file for this run

name: Publish Release to npmjs
on:
push:
tags:
- ams-v**
jobs:
publish-npmjs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: '16.x'
# Setup .npmrc file to publish to npm
registry-url: 'https://registry.npmjs.org'
- uses: actions/setup-java@v3
with:
java-version: '11'
distribution: 'adopt'
- name: Get the version
id: get_version
run: echo "VERSION=$(echo ${GITHUB_REF##*/} | cut -d v -f 2)" >> $GITHUB_OUTPUT
- run: npm install
- run: npm run compile
- run: npm test
- run: npm version ${{steps.get_version.outputs.VERSION}} --no-git-tag-version
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}]

Check failure on line 31 in .github/workflows/publish-release.yml

View workflow run for this annotation

GitHub Actions / Publish Release to npmjs

Invalid workflow file

The workflow is not valid. .github/workflows/publish-release.yml (Line: 31, Col: 28): The expression is not closed. An unescaped ${{ sequence was found, but the closing }} sequence was not found.