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

Commit 386179d

Browse files
committed
CI: Add basic workflows.
1 parent e604ffd commit 386179d

File tree

138 files changed

+1034
-4582
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+1034
-4582
lines changed

.github/FUNDING.yml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: [filiphsps] # Replace with up to 4 GitHub Sponsors-enabled usernames e.g., [user1, user2]
4+
patreon: # Replace with a single Patreon username
5+
open_collective: # Replace with a single Open Collective username
6+
ko_fi: # Replace with a single Ko-fi username
7+
tidelift: # Replace with a single Tidelift platform-name/package-name e.g., npm/babel
8+
community_bridge: # Replace with a single Community Bridge project-name e.g., cloud-foundry
9+
liberapay: # Replace with a single Liberapay username
10+
issuehunt: # Replace with a single IssueHunt username
11+
otechie: # Replace with a single Otechie username
12+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']

.github/ISSUE_TEMPLATE/bug_report.md

+38
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
---
2+
name: Bug report
3+
about: Create a report to help us improve
4+
title: 'Bug: '
5+
labels: bug
6+
assignees: ''
7+
8+
---
9+
10+
**Describe the bug**
11+
A clear and concise description of what the bug is.
12+
13+
**To Reproduce**
14+
Steps to reproduce the behavior:
15+
1. Go to '...'
16+
2. Click on '....'
17+
3. Scroll down to '....'
18+
4. See error
19+
20+
**Expected behavior**
21+
A clear and concise description of what you expected to happen.
22+
23+
**Screenshots**
24+
If applicable, add screenshots to help explain your problem.
25+
26+
**Desktop (please complete the following information):**
27+
- OS: [e.g. iOS]
28+
- Browser [e.g. chrome, safari]
29+
- Version [e.g. 22]
30+
31+
**Smartphone (please complete the following information):**
32+
- Device: [e.g. iPhone6]
33+
- OS: [e.g. iOS8.1]
34+
- Browser [e.g. stock browser, safari]
35+
- Version [e.g. 22]
36+
37+
**Additional context**
38+
Add any other context about the problem here.
+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
---
2+
name: Feature request
3+
about: Suggest an idea for this project
4+
title: Feature Request
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
**Is your feature request related to a problem? Please describe.**
11+
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
12+
13+
**Describe the solution you'd like**
14+
A clear and concise description of what you want to happen.
15+
16+
**Describe alternatives you've considered**
17+
A clear and concise description of any alternative solutions or features you've considered.
18+
19+
**Additional context**
20+
Add any other context or screenshots about the feature request here.

.github/common/install/action.yml

+17
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
name: 📦 Install
2+
description: Install dependencies
3+
4+
runs:
5+
using: 'composite'
6+
steps:
7+
- name: 🏎️ Setup Node
8+
uses: actions/setup-node@v4
9+
with:
10+
registry-url: 'https://registry.npmjs.org/'
11+
node-version-file: '.nvmrc'
12+
13+
- name: 🏎️ Setup pnpm
14+
uses: pnpm/action-setup@v3
15+
with:
16+
version: 8
17+
run_install: true

.github/workflows/test.yml

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Unit & Integration Tests
2+
on:
3+
push:
4+
pull_request:
5+
6+
jobs:
7+
tests:
8+
name: 🧪 Tests
9+
strategy:
10+
matrix:
11+
os: [ubuntu-latest, macos-latest]
12+
runs-on: ${{ matrix.os }}
13+
steps:
14+
- uses: actions/checkout@v4
15+
16+
- name: 📦 Install
17+
uses: ./.github/common/install
18+
19+
- name: 🔨 Build
20+
run: pnpm run build
21+
22+
- name: 🧪 Test
23+
run: pnpm run test
24+

.gitignore

+3-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
benchmark/
2-
node_modules
2+
node_modules
3+
*.tsbuildinfo
4+
dist/

.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
21.x

dist/index.d.ts

-23
This file was deleted.

dist/index.js

-78
This file was deleted.

dist/index.js.map

-1
This file was deleted.

dist/lib/AmbiguityConsumer.d.ts

-4
This file was deleted.

dist/lib/AmbiguityConsumer.js

-3
This file was deleted.

dist/lib/AmbiguityConsumer.js.map

-1
This file was deleted.

dist/lib/Command.d.ts

-4
This file was deleted.

dist/lib/Command.js

-3
This file was deleted.

dist/lib/Command.js.map

-1
This file was deleted.

dist/lib/CommandDispatcher.d.ts

-29
This file was deleted.

0 commit comments

Comments
 (0)