Skip to content

[개인 미션 - 성능 오답노트] 솔로스타(추용혁) 미션 제출합니다. (#67) #1

[개인 미션 - 성능 오답노트] 솔로스타(추용혁) 미션 제출합니다. (#67)

[개인 미션 - 성능 오답노트] 솔로스타(추용혁) 미션 제출합니다. (#67) #1

Workflow file for this run

name: Lighthouse
on: [push]
jobs:
lighthouse:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
- uses: actions/cache@v3
id: cache-npm
env:
cache-name: cache-node-modules
with:
# npm cache files are stored in `~/.npm` on Linux/macOS
path: ~/.npm
key: ${{ runner.os }}-build-${{ env.cache-name }}-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-build-${{ env.cache-name }}-
${{ runner.os }}-build-
${{ runner.os }}-
- if: ${{ steps.cache-npm.outputs.cache-hit != 'true' }}
run: npm ci
- run: npm run build
- uses: treosh/lighthouse-ci-action@v10
with:
configPath: './lighthouserc.json'