fix(repack-init): monorepo & version range support #300
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: Deploy PR | |
on: | |
pull_request: | |
workflow_dispatch: | |
jobs: | |
preview_website: | |
runs-on: ubuntu-latest | |
# Skip running on forks since it won't have access to secrets | |
if: > | |
github.event_name == 'workflow_dispatch' || | |
github.event.pull_request.head.repo.full_name == github.repository | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Use Node.js 18 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 18 | |
cache: "yarn" | |
- name: Install dependencies | |
run: yarn install --immutable | |
- name: Deploy website | |
uses: ./.github/actions/deploy-website | |
with: | |
netlify-auth-token: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
netlify-site-id: ${{ secrets.NETLIFY_SITE_ID }} |