refactor: first class HMR support #138
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: kitchen sink | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
ci: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/checkout@v4 | |
with: | |
repository: "nuxt/nuxt.com" | |
path: test/fixtures/nuxt.com | |
- run: corepack enable | |
- run: | | |
sed -i '1s/^/import { resolve } from "pathe"\n/' test/fixtures/nuxt.com/nuxt.config.ts | |
sed -i -e 's|export default defineNuxtConfig({|export default defineNuxtConfig({\n alias: { "@nuxtjs/tailwindcss": resolve(__dirname, "../../../src/module") },|' test/fixtures/nuxt.com/nuxt.config.ts | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 20 | |
cache: "pnpm" | |
- run: pnpm install && pnpm dev:prepare | |
- run: | | |
cd test/fixtures/nuxt.com && pnpm install --ignore-workspace | |
- run: pnpm test sink | |
env: | |
NUXT_UI_PRO_LICENSE: ${{secrets.NUXT_UI_PRO_LICENSE}} |