Skip to content

fix: github action 트리거 조건 수정 #31

fix: github action 트리거 조건 수정

fix: github action 트리거 조건 수정 #31

Workflow file for this run

name: LightHouse CI
on: [push]
jobs:
lhci:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Use Node.js 18
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install packages
run: yarn install && yarn global add @lhci/[email protected]
- name: Set .env
run: echo "${{ vars.DEVELOPMENT_ENV }}" > .env.local
- name: Build
run: yarn build
- name: Run Lighthouse CI
run: lhci autorun
env:
LHCI_GITHUB_APP_TOKEN: ${{ secrets.LHCI_GITHUB_APP_TOKEN }}
- name: Get Score Comments
id: get-score-comments
uses: ./.github/actions/get-score-comments