From 3c60f70cabfc1f4a0de0ef76506d8546575d6f6d Mon Sep 17 00:00:00 2001 From: Benjamin Canac Date: Thu, 13 Mar 2025 15:27:09 +0100 Subject: [PATCH] chore(github): add integration workflow --- .github/workflows/integration.yml | 82 +++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 .github/workflows/integration.yml diff --git a/.github/workflows/integration.yml b/.github/workflows/integration.yml new file mode 100644 index 00000000..52f21cb8 --- /dev/null +++ b/.github/workflows/integration.yml @@ -0,0 +1,82 @@ +name: integration + +on: + workflow_run: + workflows: ["module"] + types: + - completed + +jobs: + nuxt: + runs-on: ${{ matrix.os }} + + permissions: + contents: read + pull-requests: read + + strategy: + matrix: + os: [ubuntu-latest] # macos-latest, windows-latest + node: [22] + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + name: benjamincanac/app-ui3 + ref: refs/heads/main + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: pnpm + + - name: Install dependencies + run: pnpm install https://pkg.pr.new/@nuxt/ui@${git rev-parse --short HEAD} + + - name: Typecheck + run: pnpm run typecheck + + - name: Build + run: pnpm run build + + vue: + runs-on: ${{ matrix.os }} + + permissions: + contents: read + pull-requests: read + + strategy: + matrix: + os: [ubuntu-latest] # macos-latest, windows-latest + node: [22] + + steps: + - name: Checkout + uses: actions/checkout@v4 + with: + name: benjamincanac/app-ui3-vue + ref: refs/heads/main + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: ${{ matrix.node }} + cache: pnpm + + - name: Install dependencies + run: pnpm install https://pkg.pr.new/@nuxt/ui@${git rev-parse --short HEAD} + + - name: Typecheck + run: pnpm run typecheck + + - name: Build + run: pnpm run build \ No newline at end of file