From 865d4a1e20960ee2c166d9dbb94a1e666d0f3c65 Mon Sep 17 00:00:00 2001 From: Andrei Bancioiu Date: Thu, 17 Mar 2022 11:28:19 +0200 Subject: [PATCH] Update Github Workflow. --- .github/workflows/erdjs-publish.yml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/erdjs-publish.yml b/.github/workflows/erdjs-publish.yml index 9b2ab675..4223a85a 100644 --- a/.github/workflows/erdjs-publish.yml +++ b/.github/workflows/erdjs-publish.yml @@ -22,12 +22,12 @@ jobs: echo "" >> notes.txt RELEASE_TAG=v$(node -p "require('./package.json').version") - gh release create $RELEASE_TAG --prerelease --title="$RELEASE_TAG" --generate-notes --notes-file=notes.txt + gh release create $RELEASE_TAG --title="$RELEASE_TAG" --generate-notes --notes-file=notes.txt - run: npm ci - run: npm test - # - name: Publish to npmjs - # env: - # NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} - # run: npm publish --access=public + - name: Publish to npmjs + env: + NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} + run: npm publish --access=public