Skip to content

Commit deaa74e

Browse files
committed
(CI): CI/CD improvement
1 parent 55679a5 commit deaa74e

File tree

6 files changed

+10
-72
lines changed

6 files changed

+10
-72
lines changed

.github/actions/bump-version/action.yml

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

.github/actions/deploy-npm/action.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.
Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,7 @@
1-
on:
2-
workflow_call:
3-
4-
jobs:
5-
install_dependencies:
6-
name: Installing yarn dependencies of the project
7-
runs-on: ubuntu-latest
8-
steps:
9-
- name: Install yarn dependencies
10-
run: |
11-
cd template
12-
yarn install
1+
name: Install dependencies
2+
description: Install dependencies on the project under template/
3+
runs:
4+
using: composite
5+
steps:
6+
- run: cd template && yarn install
7+
shell: bash

.github/workflows/ci-develop-next-main.yml

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,9 @@ on:
77
- template/**/*
88

99
jobs:
10-
run_lint_1:
11-
runs-on: ubuntu-latest
12-
steps:
13-
- uses: actions/checkout@v2
14-
- uses: ./.github/actions/run-linters
10+
run_lint:
11+
uses: ./.github/workflows/w-run-linters.yml
1512
run_test:
1613
if: ${{ success() }}
17-
runs-on: ubuntu-latest
18-
steps:
19-
- uses: actions/checkout@v2
20-
- uses: ./.github/actions/run-tests
14+
uses: ./.github/workflows/w-run-tests.yml
2115
needs: [ run_lint ]

0 commit comments

Comments
 (0)