Skip to content

Commit 7d6d628

Browse files
authored
fix(ci): skip test if no code changed (#210)
1 parent c0497e0 commit 7d6d628

File tree

4 files changed

+10
-641
lines changed

4 files changed

+10
-641
lines changed

.github/pull_request_template.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Hello! To ensure this PR is correctly addressed as soon as possible by the IPFS
33
44
IF ADDING A NEW PUBLIC GATEWAY:
55
- Name your PR in the format `feat: add gateway.address.here`
6-
- Make sure there is no trailing comma in the final gateway in the list at `gateways.json`
6+
- Make sure there is no trailing comma in the final gateway in the list at `src/gateways.json`
77
- Include a brief description of the gateway to be added (e.g. geographic location, connection speed, available space, etc)
88
99
ALL OTHER PULL REQUESTS:

.github/workflows/js-test-and-release.yml

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,15 @@
1-
name: test & maybe release
1+
name: test
22
on:
33
push:
4+
paths-ignore:
5+
- 'README.md'
6+
- 'src/gateways.json'
47
branches:
58
- master # with #262 - ${{{ github.default_branch }}}
69
pull_request:
10+
paths-ignore:
11+
- 'README.md'
12+
- 'src/gateways.json'
713
branches:
814
- master # with #262 - ${{{ github.default_branch }}}
915

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ View the Public Gateway Checker on GitHub Pages: https://ipfs.github.io/public-g
1313

1414
## Adding a new public gateway
1515

16-
If you'd like to add a new public gateway, please edit `gateways.json`:
16+
If you'd like to add a new public gateway, please edit `./src/gateways.json`:
1717

1818
1. Add the gateway's address to the bottom of the list
1919
2. Make sure the final item in the list does **not** have a comma at the end, but all preceding items do
@@ -24,6 +24,7 @@ Then, submit a pull request for this change. Be sure to follow all the direction
2424
## Testing locally
2525

2626
```bash
27+
npm ci
2728
npm run build
2829
npm start
2930
```

0 commit comments

Comments
 (0)