Skip to content

Commit

Permalink
chore: fix workflow issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lejunyang committed Nov 1, 2024
1 parent eb45427 commit 4fa7f86
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 0 additions & 2 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,6 @@ inputs:
runs:
using: composite
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
with:
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ jobs:
outputs:
artifact-id: ${{ steps.artifacts-upload-step.outputs.artifact-id }}
steps:
- name: Checkout
uses: actions/checkout@v4
# need to checkout before using it...
- name: Setup
uses: ./.github/actions/setup # must use directory, and action.yml must be there
- name: Build
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
runs-on: ubuntu-latest
timeout-minutes: 10
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down
4 changes: 3 additions & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: Component tests

on:
on:
workflow_dispatch:
inputs:
artifact-id:
Expand All @@ -17,6 +17,8 @@ jobs:
if: ${{ !contains(github.event.head_commit.message, '[all skip]') && !contains(github.event.head_commit.message, '[test skip]') }}
runs-on: ubuntu-22.04
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup
uses: ./.github/actions/setup
with:
Expand Down

0 comments on commit 4fa7f86

Please sign in to comment.