Skip to content

feat(todoist): add todoist protocol launcher support #240

feat(todoist): add todoist protocol launcher support

feat(todoist): add todoist protocol launcher support #240

Workflow file for this run

name: build
on:
push:
branches:
- main
permissions: write-all
jobs:
build:
if: github.repository == 'zhensherlock/protocol-launcher'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup PNPM
uses: ./.github/actions/setup-pnpm
with:
node-version: 22
npm-token: ${{ secrets.NPM_TOKEN }}
- name: Build Package
run: pnpm run build
- name: Test Package
run: pnpm run coverage
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v6
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: zhensherlock/protocol-launcher
# - name: Coveralls
# uses: coverallsapp/github-action@v2
doc:
if: github.repository == 'zhensherlock/protocol-launcher'
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v6
with:
fetch-depth: 0
- name: Setup PNPM
uses: ./.github/actions/setup-pnpm
with:
node-version: 22
npm-token: ${{ secrets.NPM_TOKEN }}
- name: Build Docs Package
run: pnpm run build
- name: Deploy Docs
uses: peaceiris/actions-gh-pages@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: apps/docs/.vitepress/dist
# - name: Get the content of algolia.json as config
# id: algolia_config
# run: echo "config=$(cat apps/docs/crawlerConfig.json | jq -r tostring)" >> $GITHUB_OUTPUT
# - name: Push indices to Algolia
# uses: signcl/docsearch-scraper-action@master
# env:
# APPLICATION_ID: ${{ secrets.ALGOLIA_APPLICATION_ID }}
# API_KEY: ${{ secrets.ALGOLIA_API_KEY }}
# CONFIG: ${{ steps.algolia_config.outputs.config }}