diff --git a/.github/workflows/base.yml b/.github/workflows/base.yml index d7ee694b..f95aeea8 100644 --- a/.github/workflows/base.yml +++ b/.github/workflows/base.yml @@ -123,23 +123,28 @@ jobs: steps: - name: Checkout repository - uses: actions/checkout@v3 + uses: actions/checkout@v4 + + - name: Set up pnpm + uses: pnpm/action-setup@v4 + with: + version: 9 - name: Set up Node.js - uses: actions/setup-node@v3 + uses: actions/setup-node@v4 with: node-version: "22" - cache: "npm" + cache: "pnpm" cache-dependency-path: ./moon/package.json - name: Install dependencies working-directory: ./moon - run: npm install --force + run: pnpm i --frozen-lockfile - name: Run ESLint working-directory: ./moon - run: npm run lint + run: pnpm run lint - name: Build Next.js application working-directory: ./moon - run: npm run build + run: pnpm run build