Consolidate root actions under Platform Admin dashboard (#10512) #6575
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: 'Lost Pixel' | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- labeled | |
jobs: | |
lost-pixel-build: | |
if: github.ref_name == 'main' || github.event.label.name == 'lost-pixel' | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup project | |
uses: ./.github/actions/setup-project | |
with: | |
CACHE_VERSION: ${{ secrets.CACHE_VERSION }} | |
- name: Build Storybook | |
run: npm run styleguide:build | |
- name: Lost Pixel | |
uses: lost-pixel/[email protected] | |
env: | |
LOST_PIXEL_API_KEY: ${{ secrets.LOST_PIXEL_API_KEY }} | |
LOST_PIXEL_PROJECT_ID: ${{ secrets.LOST_PIXEL_PROJECT_ID }} |