Skip to content

Commit d0920cb

Browse files
committed
ci: simplify ci
Signed-off-by: Timo Glastra <timo@animo.id>
1 parent 37eb578 commit d0920cb

File tree

3 files changed

+17
-97
lines changed

3 files changed

+17
-97
lines changed

.github/actions/test/action.yml

Lines changed: 0 additions & 39 deletions
This file was deleted.

.github/actions/validate/action.yml

Lines changed: 0 additions & 43 deletions
This file was deleted.

.github/workflows/continuous-integration.yml

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -17,22 +17,24 @@ jobs:
1717
- name: Check the repository
1818
uses: actions/checkout@v2
1919

20-
- name: Validate
21-
uses: ./.github/actions/validate
20+
# Sets up Libindy.
21+
- name: Setup Libindy
22+
uses: ./.github/actions/setup-libindy
23+
24+
# Setup Node.js
25+
- name: Setup Node.js
26+
uses: actions/setup-node@v2
2227
with:
2328
node-version: 16.x
24-
uses-libindy: true
2529

26-
test:
27-
name: Test
28-
needs: validate
29-
runs-on: ubuntu-20.04
30+
# Installing the project dependencies
31+
- name: Install dependencies
32+
run: yarn install
3033

31-
steps:
32-
- name: Check the repository
33-
uses: actions/checkout@v2
34-
- name: Test
35-
uses: ./.github/actions/test
36-
with:
37-
node-version: 16.x
38-
uses-libindy: true
34+
# Validation
35+
- name: Running `yarn validate`
36+
run: yarn validate
37+
38+
# Run the tests
39+
- name: Run tests with coverage
40+
run: yarn test --coverage

0 commit comments

Comments
 (0)