Skip to content

Commit

Permalink
patch - github pages deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
mkkhedawat authored Dec 27, 2023
1 parent b45b264 commit 40eff00
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,8 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: npm install
- run: npm run build
- run: npm test
- run: npm install && npm run build && npm test
- run: cd example && npm i --legacy-peer-deps && npm run build

deploy-to-github-pages:
runs-on: ubuntu-latest
Expand All @@ -35,7 +34,7 @@ jobs:
- name: build pages
run: |
cd example
npm install
npm install --legacy-peer-deps
npm run build
- name: deploy pages
uses: JamesIves/[email protected]
Expand Down

0 comments on commit 40eff00

Please sign in to comment.