Skip to content

Commit

Permalink
ci: update base.yml npm to pnpm
Browse files Browse the repository at this point in the history
  • Loading branch information
besscroft committed Dec 19, 2024
1 parent d56e421 commit a90c6ba
Showing 1 changed file with 11 additions and 6 deletions.
17 changes: 11 additions & 6 deletions .github/workflows/base.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit a90c6ba

Please sign in to comment.