Skip to content

Commit 173ab52

Browse files
authored
chore(github-actions): finetuned workflows (#189)
Finetuned workflows triggers and improved linting issues
1 parent 8fc41da commit 173ab52

File tree

6 files changed

+9
-3
lines changed

6 files changed

+9
-3
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,3 +28,4 @@ jobs:
2828
- name: 🧪 Test
2929
run: npm test
3030
shell: bash
31+

.github/workflows/main.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,3 +36,4 @@ jobs:
3636

3737
- name: 🧪 Test Jest
3838
run: npm run test
39+

.github/workflows/publish-npm.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,3 +103,4 @@ jobs:
103103
run: npm publish --tag ${{ inputs.tag }} --provenance
104104
shell: bash
105105
working-directory: ${{ inputs.package-directory }}
106+

.github/workflows/release-dev.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,4 @@ jobs:
3838
with:
3939
tag: dev
4040
version: ${{ needs.get_dev_version.outputs.dev-version }}
41+

.github/workflows/release-orchestrator.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,14 @@ permissions:
2727

2828
jobs:
2929
run-dev:
30-
if: ${{ github.event.inputs.channel == 'dev' }}
30+
if: ${{ inputs.channel == 'dev' }}
3131
uses: ./.github/workflows/release-dev.yml
3232
secrets: inherit
3333

3434
run-production:
35-
if: ${{ github.event.inputs.channel == 'production' }}
35+
if: ${{ inputs.channel == 'production' }}
3636
uses: ./.github/workflows/release-production.yml
3737
secrets: inherit
3838
with:
39-
bump: ${{ github.event.inputs.bump }}
39+
bump: ${{ inputs.bump }}
40+

.github/workflows/release-production.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,4 @@ jobs:
4545
with:
4646
tag: latest
4747
version: ${{ inputs.bump }}
48+

0 commit comments

Comments
 (0)