Skip to content

Updated translations from Phrase (#2621) #1756

Updated translations from Phrase (#2621)

Updated translations from Phrase (#2621) #1756

Workflow file for this run

---
name: docs
on:
push:
branches:
- main
concurrency:
group: ${{ github.ref }}-${{ github.workflow }}
cancel-in-progress: true
jobs:
build-and-deploy:
runs-on: ubuntu-latest
steps:
- name: Setup
run: |
echo "🎉 The job was automatically triggered by a ${{ github.event_name }} event."
echo "🐧 This job is now running on a ${{ runner.os }} server hosted by GitHub!"
echo "🔎 The name of your branch is ${{ github.ref }} and your repository is ${{ github.repository }}."
- name: Check out repository code
uses: actions/checkout@v4
with:
fetch-depth: 0
- name: Set environment
run: ./.github/scripts/set-environment.sh
- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT
- uses: actions/cache@v3
id: yarn-cache
with:
path: ${{ steps.yarn-cache-dir-path.outputs.dir }}
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install dependencies
run: yarn
- name: Output License Report
run: yarn license-report
- name: Run unit tests to generate coverage
run: yarn test-coverage
- name: Output git log since last release
run: bash ./.github/scripts/gitlog.sh
- name: Allow generated docs to be committed to gh-pages branch
run: rm docs/.gitignore
- name: Deploy to GitHub Pages
uses: JamesIves/github-pages-deploy-action@v4.4.3
with:
folder: docs