Skip to content

Commit

Permalink
build: use yarn for deploying
Browse files Browse the repository at this point in the history
  • Loading branch information
Samsam Ahmadi committed May 1, 2022
1 parent d76a7c6 commit 6d20869
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,10 +35,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- name: Install and Build 🔧
run: |
npm cache clean --force
npm install
npm run build
yarn cache clean
yarn install
yarn build
- name: Deploy 🚀
run: npm publish --access public
run: yarn publish --access public
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
4 changes: 2 additions & 2 deletions .github/workflows/storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ jobs:
persist-credentials: false
- name: Install and Build 🔧
run: |
npm install
npm run build-storybook
yarn install
yarn build-storybook
- name: Deploy 🚀
uses: crazy-max/ghaction-github-pages@v2
with:
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-trip-date",
"version": "1.9.0",
"version": "1.9.1",
"description": "date-picker and range-picker for React applications",
"author": "Samsam Ahmadi",
"license": "GPL-3.0",
Expand Down

0 comments on commit 6d20869

Please sign in to comment.