-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/anaisabel1909/cornerstone3D …
…into feat/3Dcursor This commit introduces the volume picking inside cornerstone 3D, allowing users to interact with the 3D scene
- Loading branch information
Showing
245 changed files
with
5,791 additions
and
17,071 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -40,7 +40,8 @@ jobs: | |
- run: bun install | ||
- persist_to_workspace: | ||
root: ~/repo | ||
paths: . | ||
paths: | ||
- "." | ||
|
||
BUILD: | ||
<<: *defaults | ||
|
@@ -64,22 +65,6 @@ jobs: | |
- commit.txt | ||
- version.json | ||
|
||
API_CHECK: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/repo | ||
- install_bun | ||
- run: bun install -d ajv | ||
- run: bun run api-check | ||
FORMAT_CHECK: | ||
<<: *defaults | ||
steps: | ||
- attach_workspace: | ||
at: ~/repo | ||
- install_bun | ||
- run: bun run format-check | ||
|
||
# https://circleci.com/docs/2.0/collect-test-data/#karma | ||
TEST: | ||
<<: *defaults | ||
|
@@ -117,7 +102,8 @@ jobs: | |
mkdir ~/.ssh/ && echo -e "Host github.com\n\tStrictHostKeyChecking | ||
no\n" > ~/.ssh/config | ||
- add_ssh_keys: | ||
fingerprints: 7e:0f:5b:bb:e3:7a:2e:2f:b4:85:bd:66:09:69:cb:f2 | ||
fingerprints: | ||
- "7e:0f:5b:bb:e3:7a:2e:2f:b4:85:bd:66:09:69:cb:f2" | ||
- run: echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc | ||
- run: git config --global user.email "[email protected]" | ||
- run: git config --global user.name "ohif-bot" | ||
|
@@ -150,12 +136,6 @@ workflows: | |
- BUILD: | ||
requires: | ||
- CHECKOUT | ||
- FORMAT_CHECK: | ||
requires: | ||
- BUILD | ||
- API_CHECK: | ||
requires: | ||
- BUILD | ||
- TEST: | ||
requires: | ||
- CHECKOUT # TODO: Also require build? | ||
|
@@ -168,13 +148,17 @@ workflows: | |
branches: | ||
only: | ||
- main | ||
# - beta | ||
- beta | ||
- BUILD: | ||
requires: | ||
- CHECKOUT | ||
- TEST: | ||
requires: | ||
- CHECKOUT | ||
# - HOLD_FOR_APPROVAL: | ||
# type: approval | ||
# requires: | ||
# - BUILD | ||
- NPM_PUBLISH: | ||
requires: | ||
- BUILD | ||
|
This file contains 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 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 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,38 @@ | ||
name: Format Check | ||
|
||
on: | ||
pull_request: | ||
branches: [ '*' ] | ||
push: | ||
branches: [ main, beta ] | ||
|
||
jobs: | ||
format-check: | ||
timeout-minutes: 30 | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v4 | ||
with: | ||
node-version: '20.18.1' | ||
cache: 'npm' | ||
|
||
- name: Setup Bun | ||
uses: oven-sh/setup-bun@v2 | ||
with: | ||
bun-version: latest | ||
|
||
- name: Install dependencies | ||
run: bun install | ||
|
||
- name: Build dependencies | ||
run: bun run build:esm | ||
|
||
- name: Run format check | ||
run: bun run format-check | ||
env: | ||
NODE_OPTIONS: --max_old_space_size=32896 |
This file contains 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 was deleted.
Oops, something went wrong.
Oops, something went wrong.