diff --git a/.github/workflows/module.yml b/.github/workflows/module.yml index 7df5b68a..fb9e35a2 100644 --- a/.github/workflows/module.yml +++ b/.github/workflows/module.yml @@ -69,6 +69,53 @@ jobs: if: matrix.os == 'ubuntu-latest' run: pnpx pkg-pr-new publish --compact --no-template --pnpm + playground: + needs: build + + runs-on: ${{ matrix.os }} + + defaults: + run: + working-directory: ./playground + + permissions: + contents: read + pull-requests: read + + strategy: + matrix: + os: [ubuntu-latest] # macos-latest, windows-latest + node: [22] + + steps: + - name: Checkout + uses: actions/checkout@v4 + + - name: Store commit SHA + run: | + echo "COMMIT_SHA=$(echo ${{ github.workflow_sha }} | cut -c1-7)" >> $GITHUB_ENV + + - name: Install pnpm + uses: pnpm/action-setup@v4 + + - name: Install node + uses: actions/setup-node@v4 + with: + node-version: 22 + cache: pnpm + + - name: Install latest nuxt/ui + run: pnpm install https://pkg.pr.new/@nuxt/ui@${{ env.COMMIT_SHA }} --lockfile-only + + - name: Install dependencies + run: pnpm install --ignore-workspace + + - name: Prepare + run: pnpm nuxi prepare + + - name: Typecheck + run: pnpm run typecheck + starter-nuxt: needs: build diff --git a/docs/app/pages/team.vue b/docs/app/pages/team.vue index b5c5a186..72fe466b 100644 --- a/docs/app/pages/team.vue +++ b/docs/app/pages/team.vue @@ -48,7 +48,7 @@ const icons = { - + ``` -Closing a modal is now done through the `close` event. The `modal.open` method now returns a promise that resolves to the result of the modal whenever the modal is close: +Closing a modal is now done through the `close` event. The `modal.open` method now returns an instance that can be used to await for the result of the modal whenever the modal is closed: ```diff