Skip to content

Commit

Permalink
renovateでも--legacy-peer-depsを有効にするため、.npmrcを追加する
Browse files Browse the repository at this point in the history
  • Loading branch information
syou6162 committed Aug 13, 2022
1 parent 1f62192 commit fdc1ef2
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/check_firebase_cloud_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install --legacy-peer-deps
- run: npm install
- run: npm install
working-directory: ./functions
- run: npm --prefix functions run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/check_firebase_hosting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install --legacy-peer-deps
- run: npm install
- run: npm run-script build
- run: npm test
2 changes: 1 addition & 1 deletion .github/workflows/deploy_firebase_clooud_function.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install --legacy-peer-deps
- run: npm install
- run: npm install
working-directory: ./functions
- run: npm --prefix functions run lint
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy_firebase_hosting.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '16'
- run: npm install --legacy-peer-deps
- run: npm install
- name: Build React app
env:
REACT_APP_API_KEY: ${{ secrets.REACT_APP_API_KEY }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true

0 comments on commit fdc1ef2

Please sign in to comment.