Skip to content

use seconds in timer measurement #207

use seconds in timer measurement

use seconds in timer measurement #207

Workflow file for this run

name: Update docs
on:
push:
tags:
- 'v*'
branches:
- 'devel'
paths:
- 'scripts/*'
- 'src/*'
- '*.json'
- '*.js'
- 'yarn.lock'
- '*.md'
- 'docs/*'
- 'media/*'
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: "pages"
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Cache modules
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('./package.json') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node-modules-${{ hashFiles('./package.json') }}-
- name: Build
run: yarn && yarn docs
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: ./_docs
deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
needs: build
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v1