chore(deps-dev): bump husky from 9.0.11 to 9.1.7 #394
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: Netlify | |
on: push | |
jobs: | |
Deploy: | |
runs-on: ubuntu-latest | |
env: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: actions/setup-node@v4 | |
with: | |
node-version: 18 | |
- run: npm ci | |
- run: npx changeset version | |
- uses: nelonoel/[email protected] | |
- name: Publish preview | |
id: netlify | |
uses: jsmrcaga/[email protected] | |
if: env.NETLIFY_AUTH_TOKEN | |
with: | |
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} | |
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} | |
NETLIFY_DEPLOY_MESSAGE: Preview ${{ env.BRANCH_NAME }} | |
build_directory: packages/app/dist | |
deploy_alias: ${{ env.BRANCH_NAME }} | |
NETLIFY_DEPLOY_TO_PROD: false | |
build_command: yarn --cwd packages/app run build | |
monorepo_package: packages/app | |
- name: Status check | |
uses: Sibz/[email protected] | |
if: env.NETLIFY_AUTH_TOKEN | |
with: | |
authToken: ${{ secrets.GITHUB_TOKEN }} | |
context: Netlify Site | |
state: success | |
target_url: ${{ env.NETLIFY_PREVIEW_URL }} |