Skip to content

Commit

Permalink
Release 0.3.12
Browse files Browse the repository at this point in the history
  • Loading branch information
moh3n9595 committed Mar 14, 2021
1 parent 080f115 commit 3c3e2fe
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 25 deletions.
27 changes: 3 additions & 24 deletions .github/workflows/continuous-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ jobs:
path: |
dist
!dist/**/*.md
npm-publish:
publish:
needs: build
if: ${{ github.event_name == 'push' }} # Check its push

Expand All @@ -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}}
run: echo "Deployed to production server on branch $GITHUB_REF"
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down

0 comments on commit 3c3e2fe

Please sign in to comment.