Skip to content

Require Base URL & handle parser errors #10

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 6 commits into
base: next
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Move prettier to action
  • Loading branch information
aimee-gm committed Sep 14, 2023
commit ee870c3874bca6389f40e97514ded733cc6bd3b1
20 changes: 20 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
name: Test

on:
push:
branches:
- main
pull_request:

jobs:
build_and_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v3
with:
node-version-file: ".nvmrc"
- name: Install dependencies
run: yarn
- name: Run prettier list
run: yarn prettier:list
1 change: 0 additions & 1 deletion .husky/.gitignore

This file was deleted.

4 changes: 0 additions & 4 deletions .husky/pre-commit

This file was deleted.

13 changes: 7 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,11 @@ All commits to the `main` branch get auto-deployed to the live website [running
The base branch is `next`. All PRs should target this branch.

To initiate a release:
* Create a new branch, from `next` named `release/x.y.z`
* Bump the version in `package.json` to `x.y.z`
* Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
* Merge `main` into `next`

- Create a new branch, from `next` named `release/x.y.z`
- Bump the version in `package.json` to `x.y.z`
- Merge `release/x.y.z` to `main`. This will trigger the [deployment](#deployment).
- Merge `main` into `next`

## Getting Started

Expand All @@ -35,7 +36,7 @@ Next, install the required dependencies and start the server:
yarn install
yarn start
# Or, if you'd like a different port:
# PORT=5000 yarn start
# PORT=5000 yarn start
```

You can view your running local application at this URL:
Expand Down Expand Up @@ -65,4 +66,4 @@ If you find bugs, have feature requests or questions, please

Microformats Parser Website Node is dedicated to the public domain using Creative Commons -- CC0 1.0 Universal.

http://creativecommons.org/publicdomain/zero/1.0
http://creativecommons.org/publicdomain/zero/1.0
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@
},
"scripts": {
"start": "node index.js",
"prepare": "husky install"
"prettier:list": "prettier '**/*.{js,ts,json,md,html}' --list-different",
"prettier:fix": "prettier '**/*.{js,ts,json,md,html}' --write"
},
"dependencies": {
"@yarnpkg/lockfile": "^1.1.0",
Expand All @@ -18,8 +19,6 @@
"microformats-parser": "^1.5.2"
},
"devDependencies": {
"husky": ">=6",
"lint-staged": ">=10",
"prettier": "^3.0.3"
},
"lint-staged": {
Expand Down
Loading