Skip to content

Bump matrix-js-sdk from 26.2.0 to 34.3.1 in the npm_and_yarn group across 1 directory #592

Bump matrix-js-sdk from 26.2.0 to 34.3.1 in the npm_and_yarn group across 1 directory

Bump matrix-js-sdk from 26.2.0 to 34.3.1 in the npm_and_yarn group across 1 directory #592

Workflow file for this run

name: Deploy page
on:
push:
branches: ["main"]
pull_request:
permissions:
contents: read
pages: write
id-token: write
jobs:
build-faucet:
runs-on: ubuntu-latest
defaults:
run:
working-directory: client
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Install node
uses: actions/setup-node@v4
with:
node-version: 22
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn config get cacheFolder)" >> $GITHUB_OUTPUT
- uses: actions/cache@v4
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- run: yarn install --immutable
- run: yarn run check
- name: Install Playwright
run: npx playwright install
- run: yarn run test
- run: yarn run build
env:
PUBLIC_CAPTCHA_KEY: 6LcgFI4nAAAAAATrEMoJ6zBacsx5udc1UhGFXemH
GITHUB_PAGES: "/${{ github.event.repository.name }}"
STATIC: true
- uses: actions/upload-artifact@v4
with:
name: faucet
path: ./client/build
if-no-files-found: error
retention-days: 5
deploy-to-github-pages:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
if: github.event_name == 'push'
needs: [build-faucet]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Download page
uses: actions/download-artifact@v4
with:
name: faucet
path: ./dist
- name: Setup Pages
uses: actions/configure-pages@v4
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./dist
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4