Skip to content
This repository has been archived by the owner on Jul 29, 2024. It is now read-only.

Commit

Permalink
feat(platform #66): relocated artifact files in project root
Browse files Browse the repository at this point in the history
  • Loading branch information
AminYacine committed Nov 30, 2023
1 parent f587da6 commit 8131efa
Show file tree
Hide file tree
Showing 18 changed files with 47 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy_artifacts.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ jobs:
- name: Pull image
run: docker pull miragon/process-ide-cli
- name: Deploy process
run: docker run -v $PWD/order-example/order-example-camunda7/src/main/resources:/app/artifacts miragon/process-ide-cli node main.js deploy -d artifacts -t test
run: docker run -v $PWD/artifacts:/app/artifacts miragon/process-ide-cli node main.js deploy -d artifacts -t test
19 changes: 19 additions & 0 deletions .github/workflows/publish_artifacts.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: publish artifacts
on: [workflow_dispatch]
jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v4
- name: Setup node
uses: actions/setup-node@v4
with:
node-version: 16
registry-url: 'https://registry.npmjs.org'
- run: npm ci
working-directory: ./artifacts
- run: npm publish --access public
working-directory: ./artifacts
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# miranum-cicd-poc
This projects demonstrates the implementation of CI/CD pipelines for process automation projects
This projects demonstrates the implementation of CI/CD pipelines and dependency management for process automation projects
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@ Welcome to the Git repository for the UnifiedArtifact npm package. This package
1. Install the npm package: `npm install unified-artifact`
2. Access JSON files directly: `const artifact = require('unified-artifact/your-file.json');`

## Customize
- The current setup of this project is such that only the contents of the element-templates folder are being published in the npm package. This of course can be andjusted to ones needs to inlcude all relevant files.
- To include different folders or files, modify the *files* property in the package.json file accordingly.

## Contributing
We welcome contributions! Feel free to open issues, submit pull requests, or join the discussion.

Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
13 changes: 13 additions & 0 deletions artifacts/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
"files": ["*.json"],
"repository": {
"type": "git",
"url": "git+https://github.com/AminYacine/element-templates.git"
"url": "git+https://github.com/Miragon/miranum-cicd-poc.git"
},
"author": "Amin Yacine",
"license": "MIT",
"bugs": {
"url": "https://github.com/AminYacine/element-templates/issues"
"url": "https://github.com/Miragon/miranum-cicd-poc/issues"
},
"homepage": "https://github.com/AminYacine/element-templates#readme"
"homepage": "https://github.com/Miragon/miranum-cicd-poc#readme"
}
16 changes: 0 additions & 16 deletions order-example/order-example-camunda7/src/main/resources/README.md

This file was deleted.

6 changes: 6 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 8131efa

Please sign in to comment.