Comments (13)
We may be ready to start adding CI/build things now that the extension works. @diivi I am assigning it to you, but we can chat through it on Monday.
- Copy portions of the hot repo CI - https://github.com/open-sauced/hot/blob/beta/.github/workflows/release.yml
- Build should include zipping the dist output.
- zip should get added to GitHub Packages.
If you haven't done this, that is fine. We are going to keep it simple and @0-vortex can also answer questions as well.
from ai.
Sorry, let's wait on this and get the extension functional first @Anush008. Actions are disabled on this repo for now.
from ai.
@0-vortex I tried copying the config in my fork, I am getting the following error when I run the workflow:
My workflow file: https://github.com/diivi/browser-extensions/actions/runs/4791902136/workflow
It's probably because opensauced/releases uses node v16, but it works fine with other repos.
Can you suggest a solution for this?
You are trying to run the build and release step at the same time, that's why you get conflicts, the release action is running dockerized expecting to be in a sandbox (this is in order for us to not install devDependencies like semantic-release npm packages and attach a config to every repo)
Like @takanome-dev suggested in #16 (comment) a copy paste of that file with minor changes is what it should look like 🍕
from ai.
I was able to get this working, just one more thing, how do I add the dist folder as a zip file to the release assets? Here's the new workflow file that I tried doing this with - https://github.com/diivi/browser-extensions/actions/runs/4812113139/workflow
the steps here are correct: https://github.com/diivi/browser-extensions/actions/runs/4812113139/workflow#L67-L77
however, the automatic archiving from semantic-release happening here: https://github.com/open-sauced/release/blob/main/release.config.js#L141-L149
is actually handled by npm pack
and the configuration in package.json - https://docs.npmjs.com/cli/v9/commands/npm-pack?v=true should be helpful in debugging this
These steps here are duplicating the release flow: https://github.com/diivi/browser-extensions/actions/runs/4812113139/workflow#L79-L88 suggest removing those completely 🍕
from ai.
tgz is fine. Since there will not be an automated process to deploy to production, we just need a version uploaded. Type is not relevant.
from ai.
We may be ready to start adding CI/build things now that the extension works. @diivi I am assigning it to you, but we can chat through it on Monday.
- Copy portions of the hot repo CI - https://github.com/open-sauced/hot/blob/beta/.github/workflows/release.yml
- Build should include zipping the dist output.
- zip should get added to GitHub Packages.
If you haven't done this, that is fine. We are going to keep it simple and @0-vortex can also answer questions as well.
Ready to help! ❤️
from ai.
@0-vortex I tried copying the config in my fork, I am getting the following error when I run the workflow:
My workflow file:
https://github.com/diivi/browser-extensions/actions/runs/4791902136/workflow
It's probably because opensauced/releases uses node v16, but it works fine with other repos.
Can you suggest a solution for this?
from ai.
It's probably because opensauced/releases uses node v16, but it works fine with other repos.
Can you provide links to the repos you are referring to?
The hot
and insights
repos use node@16
for the release action.
Can you suggest a solution for this?
Did you try to build the project with node@16
, upload it using actions/upload-artifact
and download it with actions/download-artifact
before using the release action?
That's how it's done here
from ai.
I was able to get this working, just one more thing, how do I add the dist folder as a zip file to the release assets? Here's the new workflow file that I tried doing this with - https://github.com/diivi/browser-extensions/actions/runs/4812113139/workflow
from ai.
How about we create a beta branch and make that default and test the releases by doing the above changes and testing it out. Alternatively, we can test it in your fork @diivi
from ai.
@0-vortex wouldn't the steps you mentioned work only with tgz archives?
@bdougie wanted just a .zip archive to be attached to releases so he could upload it directly to the chrome extension store.
from ai.
🎉 This issue has been resolved in version 1.0.0-beta.1 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from ai.
🎉 This issue has been resolved in version 1.0.0 🎉
The release is available on GitHub release
Your semantic-release bot 📦🚀
from ai.
Related Issues (20)
- Monthly issue metrics report
- Bug: unable to login - Chrome HOT 9
- Monthly issue metrics report HOT 1
- Feature: add blocking labels to the take action HOT 1
- Bug: AI extension is not showing the PR writing message HOT 7
- Feature: refactor constant naming HOT 3
- Feature: enable AI description generator for all PRs even on comments HOT 2
- Bug: unstable AI Description HOT 3
- Bug: repository chatbot tracker issue HOT 3
- Bug: AI description generator on comments is not enabling the comment button HOT 2
- Bug: repo name is being empty HOT 1
- POC: E2E test with Playwright HOT 9
- Bug: Can't generate refactor, test, and explanation code when clicking the OpenSauced orange button HOT 1
- Bug: OpenSauced orange button doesn't appear on the PR form
- Bug: Can't generate Highlight from an issues HOT 4
- Feature: show a message to user when they are not logged in HOT 2
- fix: Add correct path to the usage guide on README and Docs in the extension, and update "Contributing" and "Community" sections in README HOT 3
- Bug: Lint error: Expected linebreaks to be 'LF' but found 'CRLF' HOT 6
- Bug: Can't run `npm run push` to commit changes
- Feature: Cut over to v2 API HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ai.