Skip to content

Commit 9cf262e

Browse files
committed
git: update workflows and templates
1 parent f85384d commit 9cf262e

File tree

3 files changed

+77
-0
lines changed

3 files changed

+77
-0
lines changed

.github/FUNDING.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# These are supported funding model platforms
2+
3+
github: [storytellercz, jankapunkt]
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+
lfx_crowdfunding: # Replace with a single LFX Crowdfunding project-name e.g., cloud-foundry
13+
custom: # Replace with up to 4 custom sponsorship URLs e.g., ['link1', 'link2']
Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,40 @@
1+
# This workflow will do a clean install of node dependencies, build the source code and run tests across different versions of node
2+
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
3+
4+
name: Test suite
5+
6+
on:
7+
push:
8+
branches:
9+
- master
10+
- develop
11+
pull_request:
12+
13+
jobs:
14+
tests:
15+
name: tests
16+
runs-on: ubuntu-latest
17+
# needs: [lintcode,lintstyle,lintdocs] # we could add prior jobs for linting, if desired
18+
steps:
19+
- name: checkout
20+
uses: actions/checkout@v3
21+
22+
- name: Setup meteor
23+
uses: meteorengineer/setup-meteor@v1
24+
with:
25+
meteor-release: '2.14'
26+
27+
- name: cache dependencies
28+
uses: actions/cache@v3
29+
with:
30+
path: ~/.npm
31+
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}
32+
restore-keys: |
33+
${{ runner.os }}-node-
34+
35+
# TODO: run lint
36+
- run: |
37+
cd tests
38+
meteor npm ci
39+
meteor npm run setup
40+
meteor npm run test
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: Add immediate comment on new issues
2+
3+
on:
4+
issues:
5+
types: [opened]
6+
7+
jobs:
8+
createComment:
9+
runs-on: ubuntu-latest
10+
steps:
11+
- name: Create Comment
12+
uses: peter-evans/[email protected]
13+
with:
14+
issue-number: ${{ github.event.issue.number }}
15+
body: |
16+
Thank you for submitting an issue!
17+
18+
If this is a bug report, please be sure to include, at minimum, example code showing a small schema and any necessary calls with all their arguments, which will reproduce the issue. Even better, you can link to a saved online code editor example, where anyone can immediately run the code and see the issue.
19+
20+
If you are requesting a feature, include a code example of how you imagine it working if it were implemented.
21+
22+
If you need to edit your issue description, click the [**...**] and choose Edit.
23+
24+
Be patient. This is a free and freely licensed package that I maintain in my spare time. You may get a response in a day, but it could also take a month. If you benefit from this package and would like to see more of my time devoted to it, you can help by [sponsoring](https://github.com/sponsors/aldeed).

0 commit comments

Comments
 (0)