Skip to content

chore: replace travis with github actions#855

Merged
Bekkalizer merged 3 commits into
masterfrom
master-replace-travis-with-github-actions
Nov 30, 2020
Merged

chore: replace travis with github actions#855
Bekkalizer merged 3 commits into
masterfrom
master-replace-travis-with-github-actions

Conversation

@Bekkalizer
Copy link
Copy Markdown
Member

No description provided.

Copy link
Copy Markdown

@paschalidi paschalidi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

Comment thread .github/workflows/verify.yml Outdated
Comment thread .github/workflows/verify.yml
Comment thread package.json
"test": "echo \"Error: no test specified\" && exit 1",
"prebuild": "(rm -r build && mkdir build) || mkdir build",
"build": "webpack && cp -r i18n build/i18n && cp -r core build/core && cp -r vendor build/vendor && cp -r views build/views && cp -r styles build/styles && find ./components -iname \"*.html\" -exec rsync -R '{}' ./build/ \\;",
"build": "webpack && cp package.json build && cp -r i18n build/i18n && cp -r core build/core && cp -r vendor build/vendor && cp -r views build/views && cp -r styles build/styles && find ./components -iname \"*.html\" -exec rsync -R '{}' ./build/ \\;",
Copy link
Copy Markdown

@paschalidi paschalidi Nov 27, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What does this help you achieve? I am asking because I cant think why we need to change the build function.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Me neither, I added it because the script for bundling apps seems to look for it as part of the bundling process. I can remove it again as it seems this will work without it as well.

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You can perhaps ave a look at this line in git.js(114) in dhis2-core:
const pkg_name = require(path.join(clone_path, 'package.json')).name

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Okay. I would remove this cp command if everything works without it as well, but you can be the judge of it :)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I see most other apps are including package.json, so I'll leave this in.

@Bekkalizer Bekkalizer merged commit 8d2e8f9 into master Nov 30, 2020
@Bekkalizer Bekkalizer deleted the master-replace-travis-with-github-actions branch November 30, 2020 11:06
@dhis2-bot
Copy link
Copy Markdown
Contributor

🎉 This PR is included in version 31.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Bekkalizer added a commit that referenced this pull request Dec 1, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 1, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 1, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Bekkalizer added a commit that referenced this pull request Dec 2, 2020
* chore: replace travis with github actions

* fix: build path and include package.json

* chore: removed comments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants