chore(github): update integration workflow

This commit is contained in:
Benjamin Canac
2025-03-19 17:38:16 +01:00
parent edb0f0afc6
commit 024fccf8bb

View File

@@ -3,20 +3,21 @@ name: integration
on:
workflow_run:
workflows: ["module"]
types:
- completed
types: [completed]
jobs:
nuxt:
runs-on: ${{ matrix.os }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
pull-requests: read
strategy:
matrix:
os: [ubuntu-latest] # macos-latest, windows-latest
os: [ubuntu-latest]
node: [22]
steps:
@@ -25,8 +26,8 @@ jobs:
with:
repository: benjamincanac/app-ui3
- name: Set short SHA
run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set commit SHA from triggering workflow
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@v4
@@ -49,13 +50,15 @@ jobs:
vue:
runs-on: ${{ matrix.os }}
if: ${{ github.event.workflow_run.conclusion == 'success' }}
permissions:
contents: read
pull-requests: read
strategy:
matrix:
os: [ubuntu-latest] # macos-latest, windows-latest
os: [ubuntu-latest]
node: [22]
steps:
@@ -64,8 +67,8 @@ jobs:
with:
repository: benjamincanac/app-ui3-vue
- name: Set short SHA
run: echo "COMMIT=$(git rev-parse --short HEAD)" >> $GITHUB_ENV
- name: Set commit SHA from triggering workflow
run: echo "COMMIT=${GITHUB_EVENT_WORKFLOW_RUN_HEAD_SHA:0:7}" >> $GITHUB_ENV
- name: Install pnpm
uses: pnpm/action-setup@v4