6565 btc-faucet,
6666 event-replay,
6767 rpc,
68- # subnets,
6968 ]
7069 runs-on : ubuntu-latest
7170 steps :
@@ -242,79 +241,6 @@ jobs:
242241 token : ${{ secrets.CODECOV_TOKEN }}
243242 if : always()
244243
245- test-rosetta :
246- strategy :
247- fail-fast : false
248- matrix :
249- suite :
250- [
251- rosetta,
252- rosetta-construction,
253- rosetta-cli-data,
254- rosetta-cli-construction,
255- ]
256- runs-on : ubuntu-latest
257- steps :
258- - uses : actions/checkout@v6
259-
260- - name : Use Node.js
261- uses : actions/setup-node@v6
262- with :
263- node-version-file : " .nvmrc"
264-
265- # https://github.com/actions/cache/blob/main/examples.md#node---npm
266- - name : Get npm cache directory
267- id : npm-cache-dir
268- shell : bash
269- run : echo "dir=$(npm config get cache)" >> ${GITHUB_OUTPUT}
270-
271- - name : Cache node modules
272- uses : actions/cache@v4
273- id : npm-cache # use this to check for `cache-hit` ==> if: steps.npm-cache.outputs.cache-hit != 'true'
274- with :
275- path : ${{ steps.npm-cache-dir.outputs.dir }}
276- key : ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
277- restore-keys : |
278- ${{ runner.os }}-node-
279-
280- - name : Install deps
281- run : npm ci --audit=false
282-
283- - name : Setup env vars
284- run : echo "STACKS_CORE_EVENT_HOST=http://0.0.0.0" >> $GITHUB_ENV
285-
286- - name : Setup CLI env vars
287- if : contains(matrix.suite, 'cli')
288- run : |
289- echo STACKS_BLOCKCHAIN_API_HOST=0.0.0.0>> .env
290- echo STACKS_CORE_PROXY_HOST=0.0.0.0 >> .env
291- echo STACKS_CORE_RPC_HOST=0.0.0.0 >> .env
292- echo STACKS_CORE_EVENT_HOST=0.0.0.0 >> .env
293- echo BTC_RPC_HOST=http://0.0.0.0 >> .env
294-
295- - name : Setup integration environment
296- run : |
297- sudo ufw disable
298- npm run devenv:deploy-krypton -- -d
299- npm run devenv:logs-krypton -- --no-color &> docker-compose-logs.txt &
300-
301- - name : Run tests
302- run : npm run test:${{ matrix.suite }} -- --coverage
303-
304- - name : Print integration environment logs
305- run : cat docker-compose-logs.txt
306- if : failure()
307-
308- - name : Teardown integration environment
309- run : npm run devenv:stop-krypton
310- if : always()
311-
312- - name : Upload coverage to Codecov
313- uses : codecov/codecov-action@v4
314- with :
315- token : ${{ secrets.CODECOV_TOKEN }}
316- if : always()
317-
318244 semantic-release :
319245 permissions :
320246 contents : write
@@ -326,7 +252,6 @@ jobs:
326252 - lint
327253 - test
328254 - test-2_5
329- - test-rosetta
330255 outputs :
331256 new_release_version : ${{ steps.semantic.outputs.new_release_version }}
332257 new_release_published : ${{ steps.semantic.outputs.new_release_published }}
0 commit comments