mirror of
https://github.com/bartvdbraak/hellob.art.git
synced 2025-04-26 17:11:21 +00:00
refactor: use npm instead of pnpm
This commit is contained in:
parent
d395b0357e
commit
bd7f318514
1 changed files with 4 additions and 11 deletions
15
.github/workflows/unlighthouse.yaml
vendored
15
.github/workflows/unlighthouse.yaml
vendored
|
@ -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: |
|
||||
|
|
Loading…
Reference in a new issue