Skip to content

Commit

Permalink
check npmrc
Browse files Browse the repository at this point in the history
  • Loading branch information
MariaAga committed Feb 29, 2024
1 parent ba774a6 commit 4933be1
Show file tree
Hide file tree
Showing 11 changed files with 14 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
git config --global user.name "foreman-js-bot"
echo //registry.npmjs.org/:_authToken=${NPM_TOKEN} > .npmrc
- name: Install foreman-js npm dependencies
run: npm install --legacy-peer-deps
run: npm install
- name: Publish to github
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-foreman-js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
with:
fetch-depth: 0
- name: Install foreman-js npm dependencies
run: npm install --legacy-peer-deps
run: npm install
- name: Build foreman-js
run: npm run build
- name: Run foreman-js commit linter
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/test-with-foreman.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,10 @@ jobs:
repository: theforeman/foreman
path: ./projects/foreman
- name: Install foreman-js npm dependencies
run: npm install --legacy-peer-deps
run: npm install
working-directory: ${{ github.workspace }}/projects/foreman-js
- name: Install foreman npm dependencies
run: npm install --legacy-peer-deps
run: npm install
working-directory: ${{ github.workspace }}/projects/foreman
- name: Link foreman-js to foreman
run: npm run link -- --location '${{ github.workspace }}/projects/foreman'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test-with-plugins.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,15 +40,15 @@ jobs:
ref: ${{ matrix.ref }}
path: ./projects/${{ matrix.repo }}
- name: Install foreman-js npm dependencies
run: npm install --legacy-peer-deps
run: npm install
working-directory: ${{ github.workspace }}/projects/foreman-js
- name: Install foreman npm dependencies
if: ${{ matrix.use-foreman }}
run: npm install --legacy-peer-deps
run: npm install
working-directory: ${{ github.workspace }}/projects/foreman
- name: Install ${{ matrix.repo }} npm dependencies
if: ${{ matrix.repo != 'foreman' }}
run: npm install --legacy-peer-deps
run: npm install
working-directory: ${{ github.workspace }}/projects/${{ matrix.repo }}
- name: Link foreman-js to foreman
if: ${{ matrix.use-foreman }}
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
1 change: 1 addition & 0 deletions packages/builder/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions packages/eslint-plugin-foreman/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions packages/eslint-plugin-rules/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions packages/test/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions packages/vendor-core/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 1 addition & 0 deletions packages/vendor/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true

0 comments on commit 4933be1

Please sign in to comment.