Skip to content

Commit

Permalink
Merge pull request #917 from amitamrutiya/upgrade-node
Browse files Browse the repository at this point in the history
Update node version 18 to node 20
  • Loading branch information
amitamrutiya authored Feb 14, 2025
2 parents ebcb059 + 372896e commit 59e5d27
Show file tree
Hide file tree
Showing 4 changed files with 7,836 additions and 18,241 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/bump-meshery-version.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -57,7 +57,7 @@ jobs:
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -73,7 +73,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -96,7 +96,7 @@ jobs:
meshmap/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -112,7 +112,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -134,7 +134,7 @@ jobs:
package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
Expand All @@ -150,7 +150,7 @@ jobs:
token: ${{ secrets.RELEASEDRAFTER_PAT }}
- uses: actions/setup-node@v4
with:
node-version: 18
node-version: '20.x'
cache: "npm"
cache-dependency-path: '**/package-lock.json'
- name: Make changes to pull request
Expand All @@ -173,7 +173,7 @@ jobs:
ui/package-lock.json
body: |
Update to Sistent v${{ needs.versions-check.outputs.current }}
_This pull request has been auto-generated by [l5io](http://github.com/l5io)_
assignees: l5io
draft: false
8 changes: 4 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:
types: [published]
env:
HUSKY: 0

jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -17,7 +17,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'

publish-gpr:
needs: build
Expand All @@ -35,15 +35,15 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: '20.x'
registry-url: "https://registry.npmjs.org"
scope: "@layer5"
- run: |
npm install
npm run build
npm publish --verbose
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
versions-check:
needs: publish-gpr
runs-on: ubuntu-latest
Expand Down
Loading

0 comments on commit 59e5d27

Please sign in to comment.