chore(deps): update dependency @types/node to v20.17.9 (#1580) #935
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: 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. |