diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 83f0d2d..7d890c6 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -19,4 +19,6 @@ jobs: node-version: 20 - name: Install dependencies and run build - run: npm run build + run: | + npm ci + npm run build diff --git a/.github/workflows/next-demo.yml b/.github/workflows/next-demo.yml deleted file mode 100644 index 6e4fc30..0000000 --- a/.github/workflows/next-demo.yml +++ /dev/null @@ -1,25 +0,0 @@ -name: Build Next Demo - -on: - pull_request: - branches: - - main - -jobs: - build-next-demo: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies and run build - run: | - cd next-demo - npm ci - npm run build diff --git a/.github/workflows/vite-demo.yml b/.github/workflows/vite-demo.yml deleted file mode 100644 index 533b2be..0000000 --- a/.github/workflows/vite-demo.yml +++ /dev/null @@ -1,24 +0,0 @@ -name: Build Vite Demo - -on: - pull_request: - branches: - - main - -jobs: - build-next-demo: - runs-on: ubuntu-latest - - steps: - - name: Checkout code - uses: actions/checkout@v4 - - - name: Set up Node.js - uses: actions/setup-node@v4 - with: - node-version: 20 - - - name: Install dependencies and run build - run: | - cd demo - npm run build