From 40eff0063fb0f7210088920e0687e62b6dc6f4d8 Mon Sep 17 00:00:00 2001 From: Manish Khedawat Date: Wed, 27 Dec 2023 14:33:35 +0530 Subject: [PATCH] patch - github pages deployment --- .github/workflows/npm-publish.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml index 1de5102..8370bf1 100644 --- a/.github/workflows/npm-publish.yml +++ b/.github/workflows/npm-publish.yml @@ -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 @@ -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/github-pages-deploy-action@4.1.4