Skip to content
This repository has been archived by the owner on Apr 3, 2024. It is now read-only.

CI: Add basic workflows. #30

Merged
merged 1 commit into from
Apr 2, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
12 changes: 12 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# These are supported funding model platforms

github: [filiphsps] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
patreon: # Replace with a single Patreon username
open_collective: # Replace with a single Open Collective username
ko_fi: # Replace with a single Ko-fi username
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
liberapay: # Replace with a single Liberapay username
issuehunt: # Replace with a single IssueHunt username
otechie: # Replace with a single Otechie username
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: 'Bug: '
labels: bug
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: Feature Request
labels: ''
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
17 changes: 17 additions & 0 deletions .github/common/install/action.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: 📦 Install
description: Install dependencies

runs:
using: 'composite'
steps:
- name: 🏎️ Setup Node
uses: actions/setup-node@v4
with:
registry-url: 'https://registry.npmjs.org/'
node-version-file: '.nvmrc'

- name: 🏎️ Setup pnpm
uses: pnpm/action-setup@v3
with:
version: 8
run_install: true
24 changes: 24 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Unit & Integration Tests
on:
push:
pull_request:

jobs:
tests:
name: 🧪 Tests
strategy:
matrix:
os: [ubuntu-latest, macos-latest]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4

- name: 📦 Install
uses: ./.github/common/install

- name: 🔨 Build
run: pnpm run build

- name: 🧪 Test
run: pnpm run test

4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
benchmark/
node_modules
node_modules
*.tsbuildinfo
dist/
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
21.x
23 changes: 0 additions & 23 deletions dist/index.d.ts

This file was deleted.

78 changes: 0 additions & 78 deletions dist/index.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/index.js.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/lib/AmbiguityConsumer.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions dist/lib/AmbiguityConsumer.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/lib/AmbiguityConsumer.js.map

This file was deleted.

4 changes: 0 additions & 4 deletions dist/lib/Command.d.ts

This file was deleted.

3 changes: 0 additions & 3 deletions dist/lib/Command.js

This file was deleted.

1 change: 0 additions & 1 deletion dist/lib/Command.js.map

This file was deleted.

29 changes: 0 additions & 29 deletions dist/lib/CommandDispatcher.d.ts

This file was deleted.

Loading