-
Notifications
You must be signed in to change notification settings - Fork 144
[CLNP-7689] Move ci from circle ci to GitHub action #1371
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
danney-chun
merged 7 commits into
main
from
feat/CLNP-7689-Move-CI-From-CircleCI-To-GitHub-Action-251028
Oct 29, 2025
Merged
Changes from 5 commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
9bd0a17
migration github action
danney-chun afc1974
Update build-and-test.yml
danney-chun c57fccb
Update pr-comment-bot.yml
danney-chun 7b6438c
Update .github/workflows/build-and-test.yml
danney-chun 0936ab5
Update .github/workflows/build-and-test.yml
danney-chun 1a5f315
rollback node version
danney-chun eb3e7eb
apply feed
danney-chun 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
Some comments aren't visible on the classic Files Changed page.
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,57 @@ | ||
| name: Build and Test | ||
|
|
||
| on: | ||
| pull_request: | ||
| types: [opened, synchronize] | ||
|
|
||
| push: | ||
| branches: | ||
| - main | ||
| concurrency: | ||
| group: build-and-test-${{ github.head_ref || github.ref_name }} | ||
| cancel-in-progress: true | ||
|
|
||
| jobs: | ||
| build-and-test: | ||
| runs-on: ubuntu-latest | ||
|
|
||
| env: | ||
| BOT_GH_TOKEN: ${{ secrets.BOT_GH_TOKEN }} | ||
|
|
||
| steps: | ||
| - name: Checkout code | ||
| uses: actions/checkout@v4 | ||
|
|
||
| - name: Setup Node.js | ||
| uses: actions/setup-node@v4 | ||
| with: | ||
| node-version: '18' | ||
| cache: 'yarn' | ||
|
|
||
| - name: Install dependencies | ||
| run: | | ||
| yarn install --immutable | ||
|
|
||
| - name: Run lint | ||
| if: ${{ success() }} | ||
| run: | | ||
| yarn lint | ||
|
|
||
| - name: Run build | ||
| if: ${{ success() }} | ||
| run: | | ||
| yarn build | ||
|
|
||
| - name: Run test | ||
| if: ${{ success() }} | ||
| timeout-minutes: 15 | ||
| run: | | ||
| yarn test --forceExit --runInBand | ||
|
|
||
| - name: Store artifacts | ||
| if: ${{ success() }} | ||
| uses: actions/upload-artifact@v4 | ||
| with: | ||
| name: coverage | ||
| path: coverage | ||
| retention-days: 2 | ||
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
File renamed without changes.
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.