Skip to content

Commit

Permalink
chore: fix composite action issue
Browse files Browse the repository at this point in the history
  • Loading branch information
lejunyang committed Nov 1, 2024
1 parent ab289a1 commit dd6e7fe
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .github/actions/setup/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,20 +11,19 @@ runs:
using: 'composite'
steps:
- name: Setup pnpm
shell: bash # Must set shell for every step in composite action...
# Must not set shell for other actions...
uses: pnpm/action-setup@v4
with:
version: 9.9.0

- name: Setup node
shell: bash
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'pnpm'

- name: Install
shell: bash
shell: bash # Must set shell for every step in composite action...
run: pnpm install --frozen-lockfile

- name: Check if needs to init test
Expand All @@ -33,7 +32,6 @@ runs:
run: pnpm exec playwright install

- name: Check if needs to download build
shell: bash
uses: actions/download-artifact@v4
if: ${{ github.event.inputs.artifact-id }}
with:
Expand Down

0 comments on commit dd6e7fe

Please sign in to comment.