UNPKG

bloom-filters

Version:

JS implementation of probabilistic data structures: Bloom Filter (and its derived), HyperLogLog, Count-Min Sketch, Top-K and MinHash

25 lines (24 loc) • 613 B
name: 🚀 Publish gh-pages doc on: release: types: [created] jobs: publish_doc: runs-on: ubuntu-latest steps: - uses: actions/checkout@v2 - name: Use Node.js 16.x uses: actions/setup-node@v2 with: node-version: "lts/*" - name: Install package run: yarn install - name: Build TS run: yarn build - name: Generate documentation run: yarn doc - name: Deploy to gh-pages uses: peaceiris/actions-gh-pages@v3 with: github_token: ${{ secrets.GITHUB_TOKEN }} publish_dir: ./docs