-
Notifications
You must be signed in to change notification settings - Fork 1
feat: upgrade node, workflows and release-please #24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
RonitKissis
merged 6 commits into
master
from
feat/MAPCO-10536/upgrade_node_and_workflows
Apr 30, 2026
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
20e1118
feat: upgrade node, workflows and release-please
RonitKissis 93241bf
fix: run prettier
RonitKissis de0a9b5
fix: removed copy schema
RonitKissis bac58e5
fix: lint
RonitKissis 55c465f
fix: pr changes
RonitKissis e92ca10
fix: eof
RonitKissis File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,53 @@ | ||
| # yaml-language-server: $schema=https://json.schemastore.org/dependabot-2.0.json | ||
| version: 2 | ||
| updates: | ||
| # deps | ||
| - package-ecosystem: npm | ||
| target-branch: 'master' | ||
| schedule: | ||
| interval: weekly | ||
| allow: | ||
| - dependency-type: production | ||
| directory: / | ||
| commit-message: | ||
| prefix: 'deps' | ||
| groups: | ||
| map-colonies: | ||
| patterns: | ||
| - '@map-colonies/*' | ||
| opentelemetry: | ||
| patterns: | ||
| - '@opentelemetry/*' | ||
| patch: | ||
| update-types: | ||
| - patch | ||
| # dev-deps | ||
| - package-ecosystem: npm | ||
| schedule: | ||
| interval: weekly | ||
| allow: | ||
| - dependency-type: development | ||
| directory: / | ||
| commit-message: | ||
| prefix: 'devdeps' | ||
| groups: | ||
| map-colonies: | ||
| patterns: | ||
| - '@map-colonies/*' | ||
| opentelemetry: | ||
| patterns: | ||
| - '@opentelemetry/*' | ||
| types: | ||
| patterns: | ||
| - '@types/*' | ||
| dev-patch: | ||
| update-types: | ||
| - patch | ||
|
|
||
| # github deps | ||
| - package-ecosystem: github-actions | ||
| schedule: | ||
| interval: weekly | ||
| commit-message: | ||
| prefix: 'ci' | ||
| directory: '/' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,58 @@ | ||
| name: Build and push artifacts | ||
|
|
||
| on: | ||
| push: | ||
| tags: | ||
| - 'v*' | ||
|
|
||
| jobs: | ||
| build_and_push: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - name: Artifactory Login | ||
| uses: MapColonies/shared-workflows/actions/artifactory-login@artifactory-login-v1.0.0 | ||
| with: | ||
| registry: ${{ secrets.ACR_URL }} | ||
| username: ${{ secrets.ACR_PUSH_USER }} | ||
| password: ${{ secrets.ACR_PUSH_TOKEN }} | ||
|
|
||
| - name: Build Docker Image | ||
| id: build | ||
| uses: MapColonies/shared-workflows/actions/build-docker@build-docker-v1.1.0 | ||
| with: | ||
| domain: raster | ||
| registry: ${{ secrets.ACR_URL }} | ||
|
|
||
| - name: Push Docker Image | ||
| uses: MapColonies/shared-workflows/actions/push-docker@push-docker-v1.0.1 | ||
| with: | ||
| image_name: ${{ steps.build.outputs.docker_image_full_name }} | ||
| image_tag: ${{ steps.build.outputs.docker_image_tag }} | ||
|
|
||
| - name: Build and Push Helm Chart | ||
| uses: MapColonies/shared-workflows/actions/build-and-push-helm@build-and-push-helm-v1.0.1 | ||
| with: | ||
|
|
||
| context: ./helm | ||
| domain: raster | ||
| registry: ${{ secrets.ACR_URL }} | ||
|
|
||
| - name: Update Artifacts File- Docker | ||
| uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1 | ||
| with: | ||
| domain: raster | ||
| artifact_name: ${{ github.event.repository.name }} | ||
| artifact_tag: ${{ github.ref_name }} | ||
| type: docker | ||
| registry: ${{ secrets.ACR_URL }} | ||
| github_token: ${{ secrets.GH_PAT }} | ||
|
|
||
| - name: Update Artifacts File- Helm | ||
| uses: MapColonies/shared-workflows/actions/update-artifacts-file@update-artifacts-file-v1.1.1 | ||
| with: | ||
| domain: raster | ||
| artifact_name: ${{ github.event.repository.name }} | ||
| artifact_tag: ${{ github.ref_name }} | ||
| type: helm | ||
| registry: ${{ secrets.ACR_URL }} | ||
| github_token: ${{ secrets.GH_PAT }} |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,83 +1,78 @@ | ||
| name: pull_request | ||
|
|
||
| on: [pull_request] | ||
|
|
||
| jobs: | ||
| eslint: | ||
| name: Run eslint | ||
| name: Run TS Project eslint | ||
| runs-on: ubuntu-latest | ||
| strategy: &node-strategy | ||
| matrix: | ||
| node: [24.x] | ||
|
|
||
| steps: | ||
| - name: Check out Git repository | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v1 | ||
| with: | ||
| node-version: 16 | ||
| - name: Run TS Project linters | ||
| uses: MapColonies/shared-workflows/actions/eslint@eslint-v1.0.1 | ||
| with: | ||
| node_version: ${{ matrix.node }} | ||
|
|
||
| - name: Install dependencies | ||
| run: npm ci | ||
| helm-lint: | ||
| name: Run Helm lint Check | ||
| runs-on: ubuntu-latest | ||
|
|
||
| - name: Run linters | ||
| uses: wearerequired/lint-action@v1 | ||
| with: | ||
| github_token: ${{ secrets.github_token }} | ||
| # Enable linters | ||
| eslint: true | ||
| prettier: true | ||
| eslint_extensions: ts | ||
|
|
||
| - name: OpenAPI Lint Checks | ||
| uses: nwestfall/openapi-action@v1.0.2 | ||
| steps: | ||
| - name: Check out TS Project Git repository | ||
| uses: actions/checkout@v6 | ||
| with: | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} | ||
| file: ./openapi3.yaml | ||
| fetch-depth: 0 | ||
|
|
||
| - name: Helm Lint Checks | ||
| uses: MapColonies/shared-workflows/actions/helm-lint@helm-lint-v1 | ||
|
|
||
| security: | ||
| openapi-lint: | ||
| name: Run OpenAPI lint Check | ||
| runs-on: ubuntu-latest | ||
|
|
||
| strategy: *node-strategy | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@master | ||
| - name: Run Snyk to check for vulnerabilities | ||
| uses: snyk/actions/node@master | ||
| continue-on-error: true | ||
| env: | ||
| SNYK_TOKEN: ${{ secrets.SNYK_TOKEN }} | ||
| - name: Check out TS Project Git repository | ||
| uses: actions/checkout@v6 | ||
|
|
||
| - name: Init Nodejs | ||
| uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
|
|
||
| - name: Lint OpenAPI | ||
| run: npx @redocly/cli lint --format=github-actions ./openapi3.yaml | ||
|
|
||
|
|
||
| tests: | ||
| name: Run Tests | ||
| runs-on: ubuntu-latest | ||
| strategy: | ||
| matrix: | ||
| node: [16.x, 18.x] | ||
|
|
||
| strategy: *node-strategy | ||
|
|
||
| steps: | ||
| - name: Check out Git repository | ||
| uses: actions/checkout@v2 | ||
| - name: Check out TS Project Git repository | ||
| uses: actions/checkout@v6 | ||
|
|
||
|
|
||
| - name: Set up Node.js | ||
| uses: actions/setup-node@v1 | ||
| - name: Init Nodejs | ||
| uses: MapColonies/shared-workflows/actions/init-npm@init-npm-v1 | ||
| with: | ||
| node-version: ${{ matrix.node }} | ||
|
|
||
| - name: Install Node.js dependencies | ||
| run: npm ci | ||
|
|
||
| - name: Run tests | ||
| run: npm run test | ||
|
|
||
| - uses: actions/upload-artifact@v2 | ||
| - uses: actions/upload-artifact@v6 | ||
| with: | ||
| name: Test Reporters | ||
| path: reports/** | ||
| name: Test Reporters ${{ matrix.node }} | ||
| path: ./reports/** | ||
|
|
||
| build_image: | ||
| name: Build Image | ||
| build_docker_image: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - name: Check out Git repository | ||
| uses: actions/checkout@v2 | ||
|
|
||
| - name: build Docker image | ||
| run: docker build -t test-build:latest . | ||
| - name: Build and Push Docker image | ||
| uses: docker/build-push-action@v6 |
This file was deleted.
Oops, something went wrong.
|
razbroc marked this conversation as resolved.
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| on: | ||
| push: | ||
| branches: | ||
| - master | ||
| workflow_dispatch: | ||
|
|
||
| permissions: | ||
| contents: write | ||
| pull-requests: write | ||
|
|
||
| name: release-please | ||
|
|
||
| jobs: | ||
| release-please: | ||
| runs-on: ubuntu-latest | ||
| steps: | ||
| - uses: googleapis/release-please-action@v4 | ||
| with: | ||
| token: ${{ secrets.GH_PAT }} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1 +1 @@ | ||
| v12 | ||
| v24 |
This file was deleted.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,3 @@ | ||
| { | ||
| ".": "1.2.5" | ||
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.