mirror of
https://github.com/ArthurDanjou/ui.git
synced 2026-01-14 12:14:41 +01:00
chore(github): update integration workflow
This commit is contained in:
19
.github/workflows/integration.yml
vendored
19
.github/workflows/integration.yml
vendored
@@ -3,20 +3,21 @@ name: integration
|
|||||||
on:
|
on:
|
||||||
workflow_run:
|
workflow_run:
|
||||||
workflows: ["module"]
|
workflows: ["module"]
|
||||||
types:
|
types: [completed]
|
||||||
- completed
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
nuxt:
|
nuxt:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest] # macos-latest, windows-latest
|
os: [ubuntu-latest]
|
||||||
node: [22]
|
node: [22]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -25,8 +26,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: benjamincanac/app-ui3
|
repository: benjamincanac/app-ui3
|
||||||
|
|
||||||
- name: Set short SHA
|
- name: Set commit SHA from triggering workflow
|
||||||
run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
@@ -49,13 +50,15 @@ jobs:
|
|||||||
vue:
|
vue:
|
||||||
runs-on: ${{ matrix.os }}
|
runs-on: ${{ matrix.os }}
|
||||||
|
|
||||||
|
if: ${{ github.event.workflow_run.conclusion == 'success' }}
|
||||||
|
|
||||||
permissions:
|
permissions:
|
||||||
contents: read
|
contents: read
|
||||||
pull-requests: read
|
pull-requests: read
|
||||||
|
|
||||||
strategy:
|
strategy:
|
||||||
matrix:
|
matrix:
|
||||||
os: [ubuntu-latest] # macos-latest, windows-latest
|
os: [ubuntu-latest]
|
||||||
node: [22]
|
node: [22]
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
@@ -64,8 +67,8 @@ jobs:
|
|||||||
with:
|
with:
|
||||||
repository: benjamincanac/app-ui3-vue
|
repository: benjamincanac/app-ui3-vue
|
||||||
|
|
||||||
- name: Set short SHA
|
- name: Set commit SHA from triggering workflow
|
||||||
run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
|
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
|
||||||
|
|
||||||
- name: Install pnpm
|
- name: Install pnpm
|
||||||
uses: pnpm/action-setup@v4
|
uses: pnpm/action-setup@v4
|
||||||
|
|||||||
Reference in New Issue
Block a user