Skip to content

Commit

Permalink
Chore: fix github action
Browse files Browse the repository at this point in the history
  • Loading branch information
leteu committed Dec 7, 2023
1 parent e59414e commit d6b9a12
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
runs-on: ubuntu-latest
name: Prepare Job
outputs:
stepsPath: ${{ runner.workspace }}/steps
steps: ${{ steps }}
steps:
- name: Checkout
uses: actions/checkout@v4
Expand Down Expand Up @@ -39,7 +39,7 @@ jobs:
uses: actions/cache@v3
with:
path: |
${{ steps.pnpm-store.outputs.STORE_PATH }}
${{ steps.pnpm-store.outputs.storePath }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
Expand All @@ -53,11 +53,8 @@ jobs:
needs: [prepare]
name: Linting
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/setup-node-pnpm
- uses: ./.github/actions/restore-pnpm-cache
- name: Reuse Prepare Steps
run: echo "${{ needs.prepare.outputs.steps }}"

- name: Check style
run: |
Expand All @@ -72,11 +69,8 @@ jobs:
needs: [prepare]
name: Testing
steps:
- name: Checkout
uses: actions/checkout@v4

- uses: ./.github/actions/setup-node-pnpm
- uses: ./.github/actions/restore-pnpm-cache
- name: Reuse Prepare Steps
run: echo "${{ needs.prepare.outputs.steps }}"

- name: Test
run: |
Expand Down

0 comments on commit d6b9a12

Please sign in to comment.