Skip to content

chore(tools): #21 fix missing pnpm in lost-pixel github action #2

chore(tools): #21 fix missing pnpm in lost-pixel github action

chore(tools): #21 fix missing pnpm in lost-pixel github action #2

Workflow file for this run

on: [push]
jobs:
build:
runs-on: ubuntu-latest
name: Lost Pixel
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: pnpm/action-setup@v4
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'pnpm'
- name: Install dependencies
run: pnpm install
- name: Build app
run: pnpm run build
- name: Start server (in background)
run: pnpm run preview &
- name: Lost Pixel
uses: lost-pixel/[email protected]
env:
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }}