Skip to content

Commit

Permalink
adding --legacy-peer-deps flag to npm
Browse files Browse the repository at this point in the history
  • Loading branch information
t1agob committed Aug 24, 2023
1 parent e4e59c3 commit 5826cf4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ jobs:
uses: DerYeger/yarn-setup-action@master
with:
node-version: 18
- run: npm install
- run: npm install --legacy-peer-deps
- run: npm run build

publish-npm:
Expand All @@ -36,7 +36,7 @@ jobs:
uses: DerYeger/yarn-setup-action@master
with:
node-version: 18
- run: npm install
- run: npm install --legacy-peer-deps
- run: npm publish --access private
env:

Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
uses: DerYeger/yarn-setup-action@master
with:
node-version: 18
- run: npm install
- run: npm install --legacy-peer-deps
- run: npm run build

publish-npm:
Expand All @@ -35,7 +35,7 @@ jobs:
uses: DerYeger/yarn-setup-action@master
with:
node-version: 18
- run: npm install
- run: npm install --legacy-peer-deps
- run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

0 comments on commit 5826cf4

Please sign in to comment.