Skip to content

Bump prettier from 2.8.8 to 3.1.0 #1772

Bump prettier from 2.8.8 to 3.1.0

Bump prettier from 2.8.8 to 3.1.0 #1772

Workflow file for this run

# This workflow will do
# - a clean install of node dependencies
# - run tests
# - build and upload the storybook to a staging area
#
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
on:
push:
branches:
- main
pull_request:
name: Deploy
jobs:
deploy:
runs-on: ubuntu-latest
if: ${{ github.repository_owner == 'wmde' }}
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up node
uses: actions/setup-node@v4
with:
node-version: "16"
- name: Install dependencies
run: npm ci
- name: Build Project as app
run: npm run buildPreview
- name: Deploy to netlify
id: netlify_deploy
run: npx -p netlify-cli
netlify deploy --dir='./dist' --json
--alias $(echo '${{ github.ref }}' | shasum | awk '{print substr($1,0,36)}')
# This hash ⬆ is also calculated and commented on the PR after opening in "comment-deploy-url-to-pr.yml"
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_ACCESS_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}