Skip to content

docs: Fix doc comment in deno lib #7

docs: Fix doc comment in deno lib

docs: Fix doc comment in deno lib #7

name: Frontend React CI
# Events that trigger this workflow
on: [push, pull_request]
# Defines which tool versions should be used in all workflow jobs
env:
node: '20'
pnpm: '8'
defaults:
run:
working-directory: ./frontend-react
jobs:
style:
name: Style
runs-on: ubuntu-latest
steps:
- name: Checkout 📥
uses: actions/[email protected]
- name: Setup PNPM 💿
uses: pnpm/[email protected]
with:
version: ${{ env.pnpm }}
- name: Setup Node 💿
uses: actions/[email protected]
with:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies 📚
run: pnpm install
- name: Check code style 🧽
run: pnpm run ci:style
lint:
name: Lint
runs-on: ubuntu-latest
steps:
- name: Checkout 📥
uses: actions/[email protected]
- name: Setup PNPM 💿
uses: pnpm/[email protected]
with:
version: ${{ env.pnpm }}
- name: Setup Node 💿
uses: actions/[email protected]
with:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies 📚
run: pnpm install
- name: Run Linter 📑
run: pnpm run lint
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout 📥
uses: actions/[email protected]
- name: Setup PNPM 💿
uses: pnpm/[email protected]
with:
version: ${{ env.pnpm }}
- name: Setup Node 💿
uses: actions/[email protected]
with:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies 📚
run: pnpm install
- name: Build library 📦
run: pnpm run build
- name: Pack library 📦
run: pnpm pack
- name: Upload package artifact 📤
uses: actions/[email protected]
with:
name: package.tgz
path: ./frontend-react/wuespace-telestion-*.tgz
retention-days: 7
unit-test:
name: Unit Test
runs-on: ubuntu-latest
steps:
- name: Checkout 📥
uses: actions/[email protected]
- name: Setup PNPM 💿
uses: pnpm/[email protected]
with:
version: ${{ env.pnpm }}
- name: Setup Node 💿
uses: actions/[email protected]
with:
node-version: ${{ env.node }}
cache: 'pnpm'
cache-dependency-path: '**/pnpm-lock.yaml'
- name: Install dependencies 📚
run: pnpm install
- name: Run unit tests 🛃
run: |
pnpm run build
pnpm run ci:test