Skip to content

Commit

Permalink
chore: enable pre-built packages in main workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
yyx990803 committed Aug 12, 2024
1 parent 52bebc3 commit 2f0714d
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/ecosystem-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,31 @@ jobs:
with:
node-version: 20.14.0
id: setup-node

- name: Download built packages (branch)
if: inputs.refType == 'branch'
uses: dawidd6/action-download-artifact@v4
with:
repo: ${{ inputs.repo }}
workflow: upload-packages.yml
branch: ${{ inputs.ref }}
name: packages
github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
path: built-packages
if_no_artifact_found: warn

- name: Download built packages (commit)
if: inputs.refType == 'commit'
uses: dawidd6/action-download-artifact@v4
with:
repo: ${{ inputs.repo }}
workflow: upload-packages.yml
commit: ${{ inputs.ref }}
name: packages
github_token: ${{ secrets.ECOSYSTEM_CI_ACCESS_TOKEN }}
path: built-packages
if_no_artifact_found: warn

- run: corepack enable
- run: pnpm --version
- run: pnpm i --frozen-lockfile
Expand Down

0 comments on commit 2f0714d

Please sign in to comment.