Skip to content

fix(spindle-theme-switch): dark-mode-toggleをダウングレード #73

fix(spindle-theme-switch): dark-mode-toggleをダウングレード

fix(spindle-theme-switch): dark-mode-toggleをダウングレード #73

name: deploy theme switch preview
on:
pull_request:
paths:
- 'packages/spindle-theme-switch/**'
jobs:
build_and_preview:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/spindle-theme-switch/
permissions:
checks: write
pull-requests: write
contents: read
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: yarn install --frozen-lockfile
- run: yarn build
- run: yarn cp
- name: deploy to preview channel
uses: FirebaseExtended/action-hosting-deploy@v0
with:
repoToken: '${{ secrets.GITHUB_TOKEN }}'
firebaseServiceAccount: '${{ secrets.FIREBASE_SERVICE_ACCOUNT }}'
expires: 30d
entryPoint: ./packages/spindle-theme-switch/