Skip to content

Commit f017990

Browse files
author
Jolyn Denning
authored
Add build and FUNDING.yml (#539)
* Add build * Fix build
1 parent 0999193 commit f017990

4 files changed

Lines changed: 36 additions & 1 deletion

File tree

.github/FUNDING.yml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# These are supported funding model platforms
2+
3+
github: ["jolyndenning"]
4+
patreon: singlespa
5+
open_collective: single-spa
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']
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
name: Build and Test
2+
3+
on:
4+
push:
5+
branches: main
6+
pull_request:
7+
branches: "*"
8+
9+
jobs:
10+
build:
11+
runs-on: ubuntu-latest
12+
13+
steps:
14+
- uses: actions/checkout@v4
15+
- uses: actions/setup-node@v4
16+
with:
17+
node-version: "22"
18+
- uses: pnpm/action-setup@v4
19+
- run: pnpm install --frozen-lockfile
20+
- run: pnpm run build
21+
- run: pnpm run check-format

.prettierignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
pnpm-lock.yaml

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,8 @@
77
"build": "rimraf lib && tsc",
88
"prepublishOnly": "pnpm run build",
99
"prepare": "husky",
10-
"test": "echo \"Error: no test specified\" && exit 1"
10+
"format": "prettier --write .",
11+
"check-format": "prettier --check ."
1112
},
1213
"exports": {
1314
".": {

0 commit comments

Comments
 (0)