Skip to content

Commit

Permalink
ci: fixed some minor bugs related to the workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
dtg-lucifer committed Sep 8, 2024
1 parent 5225479 commit d6f5134
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion .github/actions/tests/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,10 @@ inputs:

runs:
using: composite
steps:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Run Prettier
run: npm run format
shell: bash
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
lint-format-test:
if: ${{ github.event.workflow_run.conclusion == 'success' }}
runs-on: ubuntu-latest
environment: build
environment: production
steps:
- name: Checkout code
uses: actions/checkout@v3
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci_testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ jobs:
- name: Install dependencies
run: npm install
shell: bash

- name: Testing and linting
uses: ./github/actions/tests
with:
Expand Down

0 comments on commit d6f5134

Please sign in to comment.