From 955e8b61a89b03d88bae9a130882e8700c4cafb2 Mon Sep 17 00:00:00 2001 From: Luis Blanco Date: Wed, 4 Jan 2023 13:36:32 +0400 Subject: [PATCH] Adjust actions --- .eslintrc => .eslintrc.json | 0 .github/workflows/publish.yml | 15 ++++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) rename .eslintrc => .eslintrc.json (100%) diff --git a/.eslintrc b/.eslintrc.json similarity index 100% rename from .eslintrc rename to .eslintrc.json diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index b37834b..f6a7f75 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -28,19 +28,20 @@ jobs: id: package-version run: node -e \"require('./utils').actionVersion()\" >> $GITHUB_OUTPUT - - name: Publish - run: | - npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} - npm publish --ignore-scripts - env: - NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - + # - name: Publish + # run: | + # npm config set //registry.npmjs.org/:_authToken ${NPM_TOKEN} + # npm publish --ignore-scripts + # env: + # NPM_TOKEN: ${{ secrets.NPM_TOKEN }} + - name: Create Release id: create_release uses: softprops/action-gh-release@v1 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: + draft: true tag_name: ${{ steps.package-version.outputs.version }} name: Release ${{ steps.package-version.outputs.version }} body: Published at ${{ github.sha }}