From bd7f31851470ef9c6f37a74123d7e2c7a6e482fb Mon Sep 17 00:00:00 2001 From: Bart van der Braak Date: Sun, 1 Oct 2023 20:46:32 +0200 Subject: [PATCH] refactor: use npm instead of pnpm --- .github/workflows/unlighthouse.yaml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.github/workflows/unlighthouse.yaml b/.github/workflows/unlighthouse.yaml index a6ff39e..1ad7bca 100644 --- a/.github/workflows/unlighthouse.yaml +++ b/.github/workflows/unlighthouse.yaml @@ -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: |