Skip to content

Commit

Permalink
deploy foreman in "foreman"
Browse files Browse the repository at this point in the history
  • Loading branch information
evgeni committed Mar 13, 2024
1 parent 0bc26de commit 843a0c7
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .github/workflows/foreman_plugin_js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,7 @@ jobs:
with:
repository: ${{ inputs.foreman_repository }}
ref: ${{ inputs.foreman_version }}
path: ./foreman
- name: Check out plugin
uses: actions/checkout@v4
with:
Expand All @@ -106,8 +107,10 @@ jobs:
${{ runner.os }}-node-${{ matrix.node }}-
- name: "Build Foreman package-lock.json"
run: npm install --package-lock-only --no-audit --legacy-peer-deps
path: ./foreman
- name: "Install Foreman NPM packages"
run: npm ci --no-audit --legacy-peer-deps
path: ./foreman
- name: "Build ${{ inputs.plugin }} package-lock.json"
run: npm install --package-lock-only --no-audit --legacy-peer-deps
working-directory: ${{ inputs.plugin }}
Expand All @@ -119,7 +122,7 @@ jobs:
with:
name: package-lock-${{ env.ARTIFACT_SUFFIX }}.json
path: |
package-lock.json
foreman/package-lock.json
${{ format('{0}/package-lock.json', inputs.plugin) }}
- name: Lint ${{ matrix.plugin }}
run: npm run lint
Expand Down

0 comments on commit 843a0c7

Please sign in to comment.