chore: update linters (major) #86
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: deploy Highlight.js themes preview | |
on: | |
pull_request: | |
paths: | |
- 'packages/spindle-syntax-themes/**' | |
jobs: | |
build_and_preview: | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: ./packages/spindle-syntax-themes/ | |
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:example | |
- 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-syntax-themes/ |