Skip to content

build(deps): bump zod from 3.23.8 to 3.24.1 (#2118) #6692

build(deps): bump zod from 3.23.8 to 3.24.1 (#2118)

build(deps): bump zod from 3.23.8 to 3.24.1 (#2118) #6692

Workflow file for this run

name: netlify
on:
push:
permissions:
statuses: write
deployments: write
jobs:
build:
runs-on: ubuntu-20.04
steps:
- uses: actions/checkout@v4
- uses: actions/[email protected]
with:
node-version: 20.x
# base: https://github.com/actions/setup-node/issues/214#issuecomment-810829250
- name: Reconfigure git to use HTTPS authentication for npm-dependencies using Git
run: git config --global url."https://github.com/".insteadOf ssh://[email protected]/
- run: npm ci
- run: SITE_URL="https://piping-ui.org" npm run build
- name: Deploy to Netlify
uses: nwtgck/[email protected]
with:
publish-dir: './dist'
production-branch: master
# NOTE: "production-branch" has higher priory than "alias".
alias: git-${{ github.sha }}
github-token: ${{ secrets.GITHUB_TOKEN }}
enable-pull-request-comment: false
enable-commit-comment: false
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1
- name: Generate Netlify alias
shell: bash
run: ruby -e 'puts "netlify_alias=#{`git branch --show-current`.chomp.gsub(/[^a-zA-Z\d]/){"-"}.downcase}"' >> $GITHUB_OUTPUT
id: get_netlify_alias
# For branch deploy
- name: Deploy to Netlify (branch)
uses: nwtgck/[email protected]
with:
publish-dir: './dist'
github-token: ${{ secrets.GITHUB_TOKEN }}
alias: ${{ steps.get_netlify_alias.outputs.netlify_alias }}
enable-pull-request-comment: false
enable-commit-comment: false
enable-commit-status: false
github-deployment-environment: 'branch'
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
timeout-minutes: 1