diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 18e38ec1f..35c8aa20e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,6 +1,7 @@ name: Release on: + workflow_dispatch: push: tags: - '*' @@ -13,7 +14,7 @@ jobs: - name: Use Node (latest) uses: actions/setup-node@1f8c6b94b26d0feae1e387ca63ccbdc44d27b561 # tag=v2.5.1 with: - node-version: 14 + node-version-file: '.nvmrc' - name: Install run: yarn install - name: Build diff --git a/scripts/publish.sh b/scripts/publish.sh index bddb4bd7a..9ce10345e 100755 --- a/scripts/publish.sh +++ b/scripts/publish.sh @@ -10,4 +10,4 @@ echo "Bumping version to new tag: ${lastTag}" echo "//$REGISTRY_URL/:_authToken=$REGISTRY_AUTH_TOKEN" > .npmrc # Publish to NPM -npm publish --registry https://$REGISTRY_URL/ +npm publish --dry-run --registry https://$REGISTRY_URL/