Skip to content

Commit

Permalink
ci: clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjablack committed Oct 21, 2024
1 parent f628c02 commit 6003e6d
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 31 deletions.
25 changes: 1 addition & 24 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
with:
fetch-depth: 0 # This ensures you have the full git history

- name: Setup Node.js
uses: actions/setup-node@v2
Expand Down Expand Up @@ -52,26 +50,5 @@ jobs:
if: steps.node-modules-cache.outputs.cache-hit != 'true'
run: yarn install --immutable

- name: Debug - List Processes
run: ps aux

- run: yarn build

- name: Debug - List Processes
run: ps aux

- name: Run tests with detailed output
run: |
echo "::group::Detailed Test Output"
yarn test
echo "::endgroup::"
- name: Get test coverage
uses: coverallsapp/github-action@master
with:
github-token: ${{ secrets.GITHUB_TOKEN }}

# Modified tmate step without the timeout-minutes option
- name: Setup tmate session
uses: mxschmitt/action-tmate@v3
if: ${{ failure() }}
- run: yarn test
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"bip-schnorr": "^0.6.2",
"bip39": "^3.0.2",
"bitcoin-networks": "^1.0.0",
"cfd-dlc-js": "https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.47",
"cfd-dlc-js": "https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.48",
"cfd-js": "https://github.com/cryptogarageinc/cfd-js.git#v0.4.10",
"chai": "^4.2.0",
"chai-as-promised": "^7.1.1",
Expand Down Expand Up @@ -64,7 +64,7 @@
"lint": "turbo run lint",
"lint:fix": "turbo run lint:fix",
"build": "turbo run build",
"test": "yarn run test:unit && yarn run test:integration:sequential",
"test": "yarn run test:unit",
"test:unit": "turbo run test",
"test:integration": "nyc --reporter=text --reporter=lcov cross-env NODE_ENV=test mocha --parallel --max-old-space-size=4096",
"test:integration:sequential": "nyc --reporter=text --reporter=lcov cross-env NODE_ENV=test mocha --max-old-space-size=4096 --verbose --timeout 60000",
Expand Down
10 changes: 5 additions & 5 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4420,9 +4420,9 @@ __metadata:
languageName: node
linkType: hard

"cfd-dlc-js@https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.47":
version: 0.0.47
resolution: "cfd-dlc-js@https://github.com/atomicfinance/cfd-dlc-js.git#commit=b32d18d63a8f401781c40daf2028fa15278d9297"
"cfd-dlc-js@https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.48":
version: 0.0.48
resolution: "cfd-dlc-js@https://github.com/atomicfinance/cfd-dlc-js.git#commit=3f40a7218329309578525b024172c55fd1252c25"
dependencies:
big-integer: ^1.6.26
cmake-js: 6.3.2
Expand All @@ -4433,7 +4433,7 @@ __metadata:
npm-run-all: ^4.1.5
prebuild-install: ^7.0.0
run-script-os: ^1.1.5
checksum: 111947ab3129a2f1eb5b3ee9e3d5ba8a5a0c77a8614d61cd53159c8c4dca91fd1a20c6fc9b7cc8af58b00d8fbb539c27423d9cac2134e0412cdefa9f1cfe31a6
checksum: 9dc16a0ede8c1eb4f0ee79e64c8e1863e8aec27db19b93cd4e0c1f6f0b326fddd8809b521258e7ef2c63aa9a33d4850098647f312984c2dccfd50735ef424f9e
languageName: node
linkType: hard

Expand Down Expand Up @@ -12816,7 +12816,7 @@ __metadata:
bip-schnorr: ^0.6.2
bip39: ^3.0.2
bitcoin-networks: ^1.0.0
cfd-dlc-js: "https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.47"
cfd-dlc-js: "https://github.com/atomicfinance/cfd-dlc-js.git#v0.0.48"
cfd-js: "https://github.com/cryptogarageinc/cfd-js.git#v0.4.10"
chai: ^4.2.0
chai-as-promised: ^7.1.1
Expand Down

0 comments on commit 6003e6d

Please sign in to comment.