Skip to content

Commit

Permalink
ci: test
Browse files Browse the repository at this point in the history
  • Loading branch information
herablog committed Dec 26, 2023
1 parent 473f321 commit 4f2e71d
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/deploy-highlightjs-styles-preview-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: deploy Highlight.js themes preview test

on:
- pull_request

jobs:
build_and_preview:
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./packages/spindle-syntax-themes/
permissions:
checks: write
pull-requests: read
contents: read
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 18
- 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/

0 comments on commit 4f2e71d

Please sign in to comment.