Skip to content

SW-5791 Added Events tab (#3267) #2355

SW-5791 Added Events tab (#3267)

SW-5791 Added Events tab (#3267) #2355

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@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-
- 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/[email protected]
with:
folder: docs