refactor: use npm instead of pnpm

This commit is contained in:
Bart van der Braak 2023-10-01 20:46:32 +02:00 committed by GitHub
parent d395b0357e
commit bd7f318514
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -29,29 +29,22 @@ jobs:
- name: Checkout repository
uses: actions/checkout@v4.0.0
- name: Setup pnpm
uses: pnpm/action-setup@v2.4.0
with:
version: latest
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3.8.1
with:
node-version: ${{ matrix.node-version }}
cache: 'pnpm'
- name: Install dependencies
run: pnpm install --frozen-lockfile
run: npm install --frozen-lockfile
- name: Build production
run: pnpm run build
run: npm run build
- name: Start Preview and Get Preview URL
run: |
pnpm run preview --port ${{ env.PORT }} & echo $! > preview_pid
run: npm run preview --port ${{ env.PORT }} & echo $! > preview_pid
- name: Install Dependencies
run: pnpm add -g @unlighthouse/cli puppeteer
run: npm add -g @unlighthouse/cli puppeteer
- name: Run Unlighthouse
run: |