Skip to content

feat: Implement .collect() for streams (#14) #37

feat: Implement .collect() for streams (#14)

feat: Implement .collect() for streams (#14) #37

Workflow file for this run

name: Release
on:
push:
branches:
- main
concurrency: ${{ github.workflow }}-${{ github.ref }}
permissions:
contents: write
pull-requests: write
pages: write
id-token: write
jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm ci
- name: Create release pull request or publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: npm run ci:release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
generate-docs:
needs: release
name: Generate and deploy documentation
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
uses: actions/checkout@v4
- name: Setup Node.js 20.x
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Install Dependencies
run: npm ci
- name: Generate Docs
run: npm run doc
- name: Setup pages
uses: actions/configure-pages@v4
- name: Upload docs
uses: actions/upload-pages-artifact@v3
with:
path: ./docs
- name: Deploy to Github Pages
id: deployment
uses: actions/deploy-pages@v4