Skip to content

include types in non-dev dependencies (#15) #6

include types in non-dev dependencies (#15)

include types in non-dev dependencies (#15) #6

Workflow file for this run

name: CI Build
on:
push:
branches:
- main
pull_request:
branches:
- main
jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm install
- run: task check
- run: task test
build-docs:
name: Build Docs
runs-on: ubuntu-latest
needs: build
steps:
- uses: actions/checkout@v4
with:
persist-credentials: false
- uses: arduino/setup-task@v2
with:
version: 3.x
repo-token: ${{ secrets.GITHUB_TOKEN }}
- uses: actions/setup-node@v4
with:
node-version: 20.x
- run: npm install
- run: task doc
- uses: actions/upload-pages-artifact@v3
with:
path: docs
retention-days: 3
deploy-docs:
name: Deploy Docs
needs:
- build-docs
if: github.event_name != 'pull_request'
permissions:
pages: write
id-token: write
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- id: deployment
uses: actions/deploy-pages@v4