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:
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user