mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-02-01 04:37:57 +01:00
chore(github): update integration workflow
This commit is contained in:
11
.github/workflows/integration.yml
vendored
11
.github/workflows/integration.yml
vendored
@@ -3,7 +3,8 @@ name: integration
|
|||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["module"]
|
workflows: ["module"]
|
||||||
types: [completed]
|
types:
|
||||||
|
- completed
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nuxt:
|
nuxt:
|
||||||
@@ -27,7 +28,7 @@ jobs:
|
|||||||
repository: benjamincanac/app-ui3
|
repository: benjamincanac/app-ui3
|
||||||
|
|
||||||
- name: Set commit SHA from triggering workflow
|
- name: Set commit SHA from triggering workflow
|
||||||
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
|
run: echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
@@ -39,7 +40,7 @@ jobs:
|
|||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT }}
|
run: pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7}
|
||||||
|
|
||||||
- name: Typecheck
|
- name: Typecheck
|
||||||
run: pnpm run typecheck
|
run: pnpm run typecheck
|
||||||
@@ -68,7 +69,7 @@ jobs:
|
|||||||
repository: benjamincanac/app-ui3-vue
|
repository: benjamincanac/app-ui3-vue
|
||||||
|
|
||||||
- name: Set commit SHA from triggering workflow
|
- name: Set commit SHA from triggering workflow
|
||||||
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
|
run: echo "COMMIT=${{ github.event.workflow_run.head_sha }}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
@@ -80,7 +81,7 @@ jobs:
|
|||||||
cache: pnpm
|
cache: pnpm
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT }}
|
run: pnpm install https://pkg.pr.new/@nuxt/ui@${COMMIT:0:7}
|
||||||
|
|
||||||
# - name: Typecheck
|
# - name: Typecheck
|
||||||
# run: pnpm run typecheck
|
# run: pnpm run typecheck
|
||||||
|
|||||||
Reference in New Issue
Block a user