Bump sass from 1.79.5 to 1.80.5 #2600
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
# 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: "18" | |
- 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 }} |