diff --git a/.github/workflows/continuous-integration.yml b/.github/workflows/continuous-integration.yml index 31089d5..319df37 100644 --- a/.github/workflows/continuous-integration.yml +++ b/.github/workflows/continuous-integration.yml @@ -59,7 +59,7 @@ jobs: path: | dist !dist/**/*.md - npm-publish: + publish: needs: build if: ${{ github.event_name == 'push' }} # Check its push @@ -84,28 +84,7 @@ jobs: publish_args: "--non-interactive --access public" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - NPM_AUTH_TOKEN: "324bbda1-2414-478e-8852-929d94791161" - + NPM_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }} - name: NPM Publish - run: echo "Deployed to production server on branch $GITHUB_REF" - github-packages-publish: - needs: npm-publish - - runs-on: ubuntu-latest - - strategy: - matrix: - node-version: [12.x] - - name: Github Packages Publish - steps: - - uses: actions/checkout@v2 - - run: npm ci - - uses: actions/setup-node@v1 - with: - node-version: 12 - registry-url: 'https://npm.pkg.github.com' - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} \ No newline at end of file + run: echo "Deployed to production server on branch $GITHUB_REF" \ No newline at end of file diff --git a/package.json b/package.json index d048190..1348047 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@persian-tools/react-persian-tools", - "version": "0.3.11", + "version": "0.3.12", "description": "React wrapper component around persian tools", "main": "dist/index.js", "module": "dist/index.modern.js",