This repository was archived by the owner on Jul 10, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 26
Merged
Changes from all commits
Commits
Show all changes
53 commits
Select commit
Hold shift + click to select a range
6b898d2
Move to pnpm
coder11 b359b74
Build with pnpm
coder11 b789f7a
Splitting packages (WIP)
coder11 6298828
Fix build
coder11 e18a92e
Fix build
coder11 bba8755
Fix gitignore
coder11 23a4539
Update CI
coder11 11ed89d
Fix CI 2
coder11 39bfe1a
Update CI
coder11 088bcb1
commin pnpm-lock
coder11 79d69e8
Fix CI 2
coder11 79d0d14
Fix package names
coder11 53247c1
CI wip
coder11 f71abcc
Split packages release and tag release
coder11 1274caa
Fix prettier format
coder11 435b2a0
Fix newlines
coder11 8650424
Take our common interfaces
coder11 135212a
Fix FJS version
coder11 868fadc
Merge branch 'master' into DXJ-85
coder11 d51a265
push new workflows
coder11 36a1521
fix publish-branch
coder11 77626a4
fix publish branch contd
coder11 28369d6
publish branch version on every commit
coder11 8b1d1ab
better publish branch name
coder11 9d5e9fa
trying out release workflow
coder11 4dff7aa
should work?
coder11 11ab8de
renaming
coder11 17aa059
for tests
coder11 a4e2e42
fix tag publishing step
coder11 703dbe8
fixes
coder11 235d8c8
another way to specify tag
coder11 8ba3b23
fix syntax
coder11 f93a87e
add gh token
coder11 9c070ae
add more token
coder11 a6a285c
fix permissions
coder11 1fce7db
remove unneded license files
coder11 a5e9ddf
fix readmes
coder11 d47bc4e
Fix build
coder11 9d92cd1
List packages in readme
coder11 19b8ee6
Bump version
coder11 aeb328f
not dry run
coder11 c081453
Check for non deployed packages
coder11 02e8832
Add smoke test
coder11 5701776
fix tsconfigs
coder11 2e01a00
fix build
coder11 b7d8092
fix CI
coder11 7c2936e
fix packages' content
coder11 14c2ece
finalizing
coder11 9988713
uncomment token
coder11 810d67f
changed to prepatch
coder11 f6fe531
Add readmes for other packages
coder11 c925c24
Apply suggestions from code review
coder11 fad5aac
Apply suggestion from code review
coder11 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 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
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
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| name: "Release packages" | ||
|
|
||
| on: | ||
| workflow_dispatch: | ||
|
|
||
| jobs: | ||
| release-packages: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| steps: | ||
| - uses: actions/checkout@v3 | ||
|
|
||
| - uses: pnpm/action-setup@v2.2.2 | ||
| with: | ||
| version: 7 | ||
|
|
||
| - name: "Setup node" | ||
| uses: actions/setup-node@v2 | ||
| with: | ||
| node-version: "16" | ||
|
|
||
| - name: "Build packages" | ||
| run: | | ||
| pnpm i | ||
| pnpm -r build | ||
|
|
||
| - name: "Publish to npmjs.com" | ||
| run: | | ||
| result=$(pnpm --no-git-checks -r publish -filter '@fluencelabs/*') | ||
| if [[ $result == "There are no new packages that should be published" ]] | ||
| then | ||
| echo ERROR: no packages have been published. Did you forget to bump version? | ||
| exit 1 | ||
| fi | ||
| env: | ||
| CI: true | ||
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
|
||
| - name: "Get the version of fluence-js package" | ||
| id: package-version | ||
| uses: martinbeentjes/npm-get-version-action@main | ||
| with: | ||
| path: packages/fluence-js | ||
|
|
||
| - name: "Create tag for release" | ||
| uses: rickstaa/action-create-tag@v1 | ||
| with: | ||
| tag: "v${{ steps.package-version.outputs.current-version }}" | ||
| message: "" | ||
| github_token: ${{ secrets.GITHUB_TOKEN }} |
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 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,18 +1,6 @@ | ||
| # Logs | ||
| logs | ||
| *.log | ||
| npm-debug.log* | ||
| yarn-debug.log* | ||
| yarn-error.log* | ||
| lerna-debug.log* | ||
|
|
||
| # Compiled binary addons (https://nodejs.org/api/addons.html) | ||
| build/Release | ||
| bundle/ | ||
| .idea | ||
|
|
||
| # Dependency directories | ||
| node_modules/ | ||
| jspm_packages/ | ||
| /dist/ | ||
|
|
||
| .idea |
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 @@ | ||
| auto-install-peers=true |
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.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Do we really need a snapshot on every push to github? Perhaps it would be better to set it to
workflow_dispatchand use that when you need a snapshot?There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Since we are pushing to our internal registry I think it would be harmless. It's kind tedious when you are integrating your changes (e.g into
aqua-playground) and have to trigger the workflow for every commitThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We decided to leave it as is for now