Skip to content

chore: 순서 변경 #15

chore: 순서 변경

chore: 순서 변경 #15

Workflow file for this run

name: Run Lighthouse CI When Push
on: [push]
jobs:
lhci:
name: Lighthouse CI
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Use Node.js 17.3.1
uses: actions/setup-node@v1
with:
node-version: 17.3.1
- name: Install packages
run: |
npm install -g pnpm
pnpm install
- name: Install Lighthouse CLI
run: |
npm install -g @lhci/cli
- name: Build
run: |
pnpm run build
- name: Run Lighthouse CI
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
run: |
lhci autorun || echo "Fail to Run Lighthouse CI!"