This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
build(deps): Bump ws from 5.2.3 to 5.2.4 in /tools/slack-release-notifier #4351
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: Barista preview | |
on: | |
pull_request: | |
branches: | |
- master | |
jobs: | |
deploy: | |
if: github.event.pull_request.head.repo.full_name == github.repository | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/cache@v1 | |
with: | |
path: ~/.npm | |
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
restore-keys: | | |
${{ runner.os }}-node- | |
- name: Install | |
run: npm ci | |
- name: Build Barista Design System | |
run: | | |
npm run nx run workspace:build | |
npm run nx run barista-tools:build | |
npm run nx run barista-tools:execute | |
npm run nx run barista-design-system:static-pages:production | |
- name: Vercel Deployment | |
id: vercel-action | |
uses: amondnet/[email protected]+4 | |
with: | |
vercel-token: ${{ secrets.ZEIT_TOKEN }} | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
vercel-org-id: ${{ secrets.VERCEL_ORG_ID}} | |
vercel-args: | |
'--scope dynatrace-oss --confirm | |
./dist/apps/barista-design-system/browser' | |
vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID}} | |
- name: Generating Lighthouse Report | |
uses: jakejarvis/lighthouse-action@master | |
with: | |
url: ${{ steps.vercel-action.outputs.preview-url }} | |
- name: Save Lighthouse Audit | |
uses: actions/upload-artifact@master | |
with: | |
name: barista-audit | |
path: './report' |