Skip to content

chore(deps): update dependency @types/node to v20.17.9 (#1580) #935

chore(deps): update dependency @types/node to v20.17.9 (#1580)

chore(deps): update dependency @types/node to v20.17.9 (#1580) #935

Workflow file for this run

name: Publish Demo
on:
push:
branches:
- main
- fix/pnpm-github-actions
jobs:
release:
name: Update demo pages
runs-on: ubuntu-latest
env:
CI: 'true'
steps:
- uses: actions/checkout@v4
- name: Use Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.15.0
- uses: pnpm/action-setup@v4
name: Setup PNPM & Install dependencies 👨🏻‍💻
with:
version: 9.5.0
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
shell: bash
run: |
echo "STORE_PATH=$(pnpm store path)" >> $GITHUB_OUTPUT
- name: Cache node_modules & NX 📦
uses: actions/[email protected]
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
/home/runner/.cache/Cypress
./nx
key: ${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/package.json') }}
restore-keys: |
${{ runner.os }}-node-${{ hashFiles('**/pnpm-lock.yaml') }}-${{ hashFiles('**/package.json') }}
${{ runner.os }}-node-${{ hashFiles('**/package.json') }}
- name: Install
run: pnpm install --frozen-lockfile
- name: Build libraries
run: pnpm lerna:build
- name: Deploy 🚀
uses: JamesIves/[email protected]
with:
branch: gh-pages # The branch the action should deploy to.
folder: web/lighthouse-viewer/dist/lighthouse-viewer # The folder the action should deploy.