Skip to content

Commit

Permalink
build: Temporarily downgrade nvm to 0.39.7
Browse files Browse the repository at this point in the history
  • Loading branch information
sumanmaity1234 committed Aug 14, 2024
1 parent df9c802 commit 730e2ff
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ jobs:
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Install prettier using npm
run: sudo npm install --global prettier
- name: Install jenv
Expand Down Expand Up @@ -126,6 +129,9 @@ jobs:
ref: 'main'
fetch-depth: 0
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Install git-cliff and prettier using npm
run: sudo npm install --global git-cliff prettier
- name: Generate changelog
Expand Down Expand Up @@ -162,6 +168,9 @@ jobs:
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Get Date
id: get-date
run: |
Expand Down Expand Up @@ -246,6 +255,9 @@ jobs:
run: |
echo "date=$(/bin/date -u "+%Y%m%d")" >> $GITHUB_OUTPUT
shell: bash
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Cache node modules
uses: actions/cache@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ jobs:
jenv init -
jenv add ${JAVA_HOME_21_X64}
working-directory: ${{ github.workspace }}/${{ env.SERVICE_NAME }}/
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Get Date
id: get-date
run: |
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/on-pr.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,9 @@ jobs:
uses: actions/checkout@v4
with:
path: ${{ github.workspace }}/${{ env.SERVICE_NAME }}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Install prettier using npm
run: sudo npm install --global prettier
- name: Install Hadolint and add to PATH
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/trivy.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,9 @@ jobs:
run: |
jenv init -
jenv add ${JAVA_HOME_21_X64}
- name: Install nvm at specific version
run: |
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.7/install.sh | bash
- name: Get Date
id: get-date
run: |
Expand Down

0 comments on commit 730e2ff

Please sign in to comment.