diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index c677c2c..5564598 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -26,23 +26,17 @@ jobs: with: node-version: 18 - - name: Setup pnpm + - name: Setup pnpm ⚡ uses: pnpm/action-setup@v2 with: version: 9 - - name: List directory contents before build 📂 - run: ls -al . - - name: Install dependencies 🔧 run: pnpm install --frozen-lockfile - name: Build with Next.js 🏗️ run: pnpm run build - - name: List directory contents after build 📂 - run: ls -al . - - name: Upload artifact 📡 uses: actions/upload-pages-artifact@v3 with: diff --git a/.github/workflows/setup-node/action.yml b/.github/workflows/setup-node/action.yml deleted file mode 100644 index 3a2f144..0000000 --- a/.github/workflows/setup-node/action.yml +++ /dev/null @@ -1,26 +0,0 @@ -name: setup-node -description: "Setup Node.js ⚙️ - Cache dependencies ⚡ - Install dependencies 🔧" -runs: - using: "composite" - steps: - - name: Setup Node.js ⚙️ - uses: actions/setup-node@v4 - with: - node-version: 18 - - - name: Setup pnpm - uses: pnpm/action-setup@v2 - with: - version: 9 - - - name: Cache dependencies ⚡ - id: cache_dependencies - uses: actions/cache@v3 - with: - path: node_modules - key: node-modules-${{ hashFiles('pnpm-lock.yaml') }} - - - name: Install dependencies 🔧 - shell: bash - if: steps.cache_dependencies.outputs.cache-hit != 'true' - run: pnpm install --frozen-lockfile