From 6f6b94faf10fd97ec895455abc1c7781ea1f5634 Mon Sep 17 00:00:00 2001 From: Kazunari Hara Date: Tue, 26 Dec 2023 17:32:53 +0900 Subject: [PATCH] ci: test --- ...deploy-highlightjs-styles-preview-test.yml | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .github/workflows/deploy-highlightjs-styles-preview-test.yml diff --git a/.github/workflows/deploy-highlightjs-styles-preview-test.yml b/.github/workflows/deploy-highlightjs-styles-preview-test.yml new file mode 100644 index 000000000..e9ff8920d --- /dev/null +++ b/.github/workflows/deploy-highlightjs-styles-preview-test.yml @@ -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: write + 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/