Update dependency org.jetbrains.kotlinx.kover to v0.9.0 #881
Workflow file for this run
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: Website | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
branches: | |
- main | |
jobs: | |
cancel-previous: | |
name: Cancel Previous | |
permissions: | |
contents: read | |
actions: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Cancel Previous Build | |
uses: styfle/cancel-workflow-action@0.12.1 | |
with: | |
access_token: ${{ github.token }} | |
build: | |
name: Build | |
permissions: | |
contents: write | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: Setup Node | |
uses: actions/setup-node@v4.1.0 | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
cache-dependency-path: 'website/yarn.lock' | |
- name: Lint | |
run: make lint-docs | |
- name: Install Dependencies | |
working-directory: website/ | |
run: yarn install | |
- name: Build the Website | |
working-directory: website/ | |
run: yarn build | |
- name: Deploy Github Pages (only on main) | |
uses: JamesIves/github-pages-deploy-action@v4.7.2 | |
if: ${{ github.event_name == 'push' && github.ref == 'refs/heads/main' }} | |
with: | |
branch: gh-pages | |
folder: website/build/ |