Skip to content

Bump ua-parser-js from 0.7.32 to 0.7.33 in /website #191

Bump ua-parser-js from 0.7.32 to 0.7.33 in /website

Bump ua-parser-js from 0.7.32 to 0.7.33 in /website #191

name: "[Doc][A] Build Only"
on:
push:
branches:
- "**"
jobs:
build:
runs-on: ubuntu-latest
strategy:
matrix:
scala:
- { version: "2.13.10", binary-version: "2.13", java-version: "11", java-distribution: "temurin" }
node:
- { version: "16.16.0" }
steps:
- uses: actions/checkout@v3
- uses: actions/setup-java@v3
with:
java-version: ${{ matrix.scala.java-version }}
distribution: ${{ matrix.scala.java-distribution }}
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node.version }}
registry-url: 'https://registry.npmjs.org'
- name: Cache SBT
uses: actions/cache@v3
with:
path: |
~/.ivy2/cache
~/.cache/coursier
~/.sbt
key: ${{ runner.os }}-sbt-${{ matrix.scala.binary-version }}-${{ hashFiles('**/*.sbt') }}
restore-keys: |
${{ runner.os }}-sbt-${{ matrix.scala.binary-version }}-
- name: Cache npm
uses: actions/cache@v3
with:
path: ~/.npm
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
restore-keys: |
${{ runner.os }}-node-
- name: Build website
env:
ALGOLIA_APP_ID: ${{ secrets.ALGOLIA_APP_ID }}
ALGOLIA_API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
ALGOLIA_INDEX_NAME: ${{ secrets.ALGOLIA_INDEX_NAME }}
GA_TRACKING_ID: ${{ secrets.GA_TRACKING_ID }}
GA_ANONYMIZE_IP: ${{ secrets.GA_ANONYMIZE_IP }}
run: |
sbt clean \
docusaurGenerateAlgoliaConfigFile \
docusaurGenerateGoogleAnalyticsConfigFile \
docusaurInstall \
docusaurCleanBuild \
docusaurBuild