Skip to content

v2.0.3

v2.0.3 #9

Workflow file for this run

---
name: Generate Doc and Coverage
on:
push:
branches: [prod]
release:
types: [created]
jobs:
generate-doc:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i
- run: npm run doc
- uses: JamesIves/github-pages-deploy-action@v4
with:
branch: gh-pages
folder: docs
token: ${{ secrets.GITHUB_TOKEN }}
generate-coverage:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20
- run: npm i
- run: npm run coverage
- uses: coverallsapp/github-action@v2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
file: ./coverage/lcov.info