Skip to content

Commit 5527a9e

Browse files
committed
ci: update ci.yaml
1 parent d72e965 commit 5527a9e

File tree

1 file changed

+10
-14
lines changed

1 file changed

+10
-14
lines changed

.github/workflows/ci.yaml

Lines changed: 10 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -22,18 +22,19 @@ jobs:
2222

2323
steps:
2424
- name: Checkout
25-
uses: actions/checkout@v2
26-
with:
27-
fetch-depth: 1
25+
uses: actions/checkout@v6
2826

2927
- name: Set up Node.js
30-
uses: actions/setup-node@v1
28+
uses: actions/setup-node@v6
3129
with:
3230
node-version: 20.x
3331

34-
- name: Install dependencies
32+
- name: Install local dependencies
3533
run: npm ci
3634

35+
- name: Install global dependencies
36+
run: npm install --global bee-dev @fairdatasociety/fdp-play @ethersphere/swarm-cli npxie
37+
3738
- name: Clone fdp-play
3839
run: git clone https://github.com/fairDataSociety/fdp-play
3940

@@ -47,19 +48,14 @@ jobs:
4748
cd fdp-play/orchestrator
4849
npm run build:env -- --build-base-bee --bee-repository=Cafe137/inbee4.git
4950
50-
- name: Install swarm-cli
51-
run: npm install --global @ethersphere/swarm-cli
52-
5351
- name: Run bee-dev
54-
run: npx bee-dev --port 16337 &
52+
run: bee-dev --port 16337 &
5553

5654
- name: Run bee-dev with --no-swap
57-
run: npx bee-dev --port 16338 --no-swap &
55+
run: bee-dev --port 16338 --no-swap &
5856

5957
- name: Start fdp-play environment
60-
run: |
61-
npm install --global @fairdatasociety/fdp-play
62-
fdp-play start --blockchain-image ethereum/client-go:release-1.13 --bee-version HEAD-commit
58+
run: fdp-play start --blockchain-image ethereum/client-go:release-1.13 --bee-version HEAD-commit
6359

6460
- name: Deposit to chequebook
6561
run: |
@@ -79,5 +75,5 @@ jobs:
7975
- name: Compare coverage
8076
if: github.ref != 'refs/heads/master'
8177
run:
82-
npx npxie coverage-comparison "${{ github.repository }}" "master" "${{ github.head_ref }}"
78+
npxie coverage-comparison "${{ github.repository }}" "master" "${{ github.head_ref }}"
8379
"test/coverage/coverage-summary.json" "${{ github.event.pull_request.number }}" "${{ secrets.GITHUB_TOKEN }}"

0 commit comments

Comments
 (0)