Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
20 commits
Select commit Hold shift + click to select a range
138d8b7
fix(module): export types correctly
myugen May 10, 2025
6c44dcd
feat(try): add missing methods
myugen May 10, 2025
50a4819
feat(either): allow side effects executions
myugen May 10, 2025
a9eb4c5
feat(try): allow side effects executions
myugen May 10, 2025
4f3e3d8
feat(option): allow side effects executions
myugen May 10, 2025
7e693c1
chore(package): update version to 1.3.0-beta.2
Marius9595 May 10, 2025
4e9cf94
chore(package): set version property to 0.0.0-semantically-released i…
Marius9595 May 10, 2025
2e1a934
fix(package): update contributor name to include full name
Marius9595 May 10, 2025
609199e
feat(either): enhance type definitions for Either class methods
myugen May 11, 2025
374cfd9
feat(either): allow recover from left value
myugen May 11, 2025
75709aa
feat(either): enhance type definitions for map, flatMap, onRight, onL…
myugen May 11, 2025
5dbca64
feat(either): improve matching by using an object
myugen May 11, 2025
32166d8
feat(option): improve matching by using an object
myugen May 11, 2025
805f277
feat(try): improve matching by using an object
myugen May 11, 2025
181a119
feat(foldable): make fold as unique unwrap method
myugen May 11, 2025
c49bba4
fix(docs): fix typo
myugen May 11, 2025
4f958ad
chore: move contribution information into github folder
myugen May 11, 2025
1751a61
chore(ci): prepare pipelines to not run when docs folder changes
myugen May 11, 2025
ede2ca4
chore(ci): add workflow to deploy docs
myugen May 11, 2025
16eed03
feat(docs): add documentation project
myugen May 11, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,12 @@ name: CI
on:
push:
branches: ["main", "beta"]
paths-ignore:
- 'docs/**'
pull_request:
branches: ["main", "beta"]
paths-ignore:
- 'docs/**'

jobs:
build:
Expand Down
92 changes: 92 additions & 0 deletions .github/workflows/deploy-docs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,92 @@
# Sample workflow for building and deploying an Astro site to GitHub Pages
#
# To get started with Astro see: https://docs.astro.build/en/getting-started/
#
name: Deploy Docs

on:
# Runs on pushes targeting the default branch
push:
branches:
- main
paths:
- 'docs/**'

# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:

# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages
permissions:
contents: read
pages: write
id-token: write

# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued.
# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete.
concurrency:
group: 'pages'
cancel-in-progress: false

env:
BUILD_PATH: './docs'

jobs:
build:
name: Build
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Detect package manager
id: detect-package-manager
run: |
if [ -f "${{ github.workspace }}/yarn.lock" ]; then
echo "manager=yarn" >> $GITHUB_OUTPUT
echo "command=install" >> $GITHUB_OUTPUT
echo "runner=yarn" >> $GITHUB_OUTPUT
echo "lockfile=yarn.lock" >> $GITHUB_OUTPUT
exit 0
elif [ -f "${{ github.workspace }}/package.json" ]; then
echo "manager=npm" >> $GITHUB_OUTPUT
echo "command=ci" >> $GITHUB_OUTPUT
echo "runner=npx --no-install" >> $GITHUB_OUTPUT
echo "lockfile=package-lock.json" >> $GITHUB_OUTPUT
exit 0
else
echo "Unable to determine package manager"
exit 1
fi
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: "20"
cache: ${{ steps.detect-package-manager.outputs.manager }}
cache-dependency-path: ${{ env.BUILD_PATH }}/${{ steps.detect-package-manager.outputs.lockfile }}
- name: Setup Pages
id: pages
uses: actions/configure-pages@v5
- name: Install dependencies
run: ${{ steps.detect-package-manager.outputs.manager }} ${{ steps.detect-package-manager.outputs.command }}
working-directory: ${{ env.BUILD_PATH }}
- name: Build with Astro
run: |
${{ steps.detect-package-manager.outputs.runner }} astro build \
--site "${{ steps.pages.outputs.origin }}" \
--base "${{ steps.pages.outputs.base_path }}"
working-directory: ${{ env.BUILD_PATH }}
- name: Upload artifact
uses: actions/upload-pages-artifact@v3
with:
path: ${{ env.BUILD_PATH }}/dist

deploy:
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
needs: build
runs-on: ubuntu-latest
name: Deploy
steps:
- name: Deploy to GitHub Pages
id: deployment
uses: actions/deploy-pages@v4
2 changes: 2 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,8 @@ on:
branches:
- main
- beta
paths-ignore:
- 'docs/**'

permissions:
contents: write
Expand Down
Loading