Skip to content

Update version to 1.3.1, modify filter functions in getTransceiversTr… #77

Update version to 1.3.1, modify filter functions in getTransceiversTr…

Update version to 1.3.1, modify filter functions in getTransceiversTr… #77

Workflow file for this run

name: Build
on:
workflow_dispatch:
push:
tags:
- 'v*'
branches:
- 'main'
paths:
- 'src/*'
- '*.json'
- '*.js'
- 'yarn.lock'
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 1
- uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
- name: Cache modules
uses: actions/cache@v4
with:
path: |
node_modules
key: ${{ runner.os }}-node-modules-${{ hashFiles('./yarn.lock') }}-${{ github.sha }}
restore-keys: |
${{ runner.os }}-node-modules-${{ hashFiles('./yarn.lock') }}-
- name: Yarn build
run: |
yarn install --frozen-lockfile --network-timeout 60000 --network-concurrency 1
yarn docs
- name: Setup Pages
uses: actions/configure-pages@v3
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ./_docs
deploy-docs:
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@v4