From c9653da1f0c7291793190d9073014c8f444f70e5 Mon Sep 17 00:00:00 2001 From: Andrey Kopylov Date: Wed, 13 Dec 2023 18:29:20 +0500 Subject: [PATCH] [remove-git-action] removed --- .github/workflows/publish.yml | 39 ----------------------------------- package.json | 2 +- 2 files changed, 1 insertion(+), 40 deletions(-) delete mode 100644 .github/workflows/publish.yml diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml deleted file mode 100644 index b3547818..00000000 --- a/.github/workflows/publish.yml +++ /dev/null @@ -1,39 +0,0 @@ -name: Update Version and Publish to NPM - -on: - release: - types: [published] - -jobs: - publish-github-packages: - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v2 - - - name: Setup Node.js - uses: actions/setup-node@v2 - with: - node-version: '18.16.1' - registry-url: 'https://registry.npmjs.org/' - - - name: Setup git user - run: | - git config --local user.email "action@github.com" - git config --local user.name "GitHub Action" - - - name: Update package.json version - run: npm version --tag=latest ${{ github.event.release.tag_name }} - - - name: Install dependencies - run: npm ci - - - name: Build SDK - run: npm run build - - - name: Publish to NPM - run: | - echo "//registry.npmjs.org/:_authToken=$NPM_AUTH_TOKEN" > ~/.npmrc - npm publish --access public - env: - NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} diff --git a/package.json b/package.json index f451050d..ceb22e66 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "version": "1.0.0", + "version": "1.0.1", "sideEffects": false, "main": "dist/index.js", "types": "dist/index.d.ts",