Skip to content

chore(deps): update dependency @types/node to v20.16.12 #896

chore(deps): update dependency @types/node to v20.16.12

chore(deps): update dependency @types/node to v20.16.12 #896

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:
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
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 📦
uses: actions/cache@v4.0.2
with:
path: |
${{ steps.pnpm-cache.outputs.STORE_PATH }}
/home/runner/.cache/Cypress
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/github-pages-deploy-action@v4.6.3
with:
branch: gh-pages # The branch the action should deploy to.
folder: web/lighthouse-viewer/dist/lighthouse-viewer # The folder the action should deploy.