Add frontside.com documentation minisite #35
Workflow file for this run
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: Preview | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
publish-previews: | |
name: Publish Preview Packages | |
runs-on: ubuntu-latest | |
if: contains(github.event.pull_request.labels.*.name, 'preview') | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
fetch-depth: 0 | |
- uses: volta-cli/action@v3 | |
with: | |
registry-url: https://registry.npmjs.org | |
- name: Publish PR Preview | |
uses: thefrontside/actions/publish-pr-preview@v2 | |
with: | |
INSTALL_SCRIPT: yarn install && yarn pack | |
env: | |
GITHUB_TOKEN: ${{ secrets.FRONTSIDEJACK_GITHUB_TOKEN }} | |
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} |