Skip to content

Commit f413977

Browse files
committed
(CI): workflow refactoring
1 parent 1071ce6 commit f413977

File tree

7 files changed

+6
-6
lines changed

7 files changed

+6
-6
lines changed
File renamed without changes.

.github/workflows/w-run-linters.yml renamed to .github/actions/run-linters.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: ./.github/workflows/w-install-dependencies.yml
10+
- uses: ./.github/actions/install-dependencies.yml
1111
- name: Run linters
1212
run: |
1313
cd template

.github/workflows/w-run-tests.yml renamed to .github/actions/run-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ jobs:
77
runs-on: ubuntu-latest
88
steps:
99
- uses: actions/checkout@v2
10-
- uses: ./.github/workflows/w-install-dependencies.yml
10+
- uses: ./.github/actions/install-dependencies.yml
1111
- name: Run tests
1212
run: |
1313
cd template

.github/workflows/cd-npm.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,8 @@ on:
77
jobs:
88
publish:
99
if: "!github.event.release.prerelease"
10-
uses: ./.github/workflows/w-deploy-npm.yml
10+
uses: ./.github/actions/deploy-npm
1111
rc_publish:
1212
if: "!github.event.release.prerelease"
13-
uses: ./.github/workflows/w-deploy-npm.yml
13+
uses: ./.github/actions/deploy-npm
1414
with: ${{ github.event.release.tag_name }}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- uses: actions/checkout@v2
14-
- uses: ./.github/workflows/w-run-linters.yml
14+
- uses: ./.github/actions/run-linters
1515
run_test:
1616
if: ${{ success() }}
1717
runs-on: ubuntu-latest
1818
steps:
1919
- uses: actions/checkout@v2
20-
- uses: ./.github/workflows/w-run-tests.yml
20+
- uses: ./.github/actions/run-tests
2121
needs: [ run_lint ]

0 commit comments

Comments
 (0)