Skip to content

Commit 931f61d

Browse files
committed
tidy up code
1 parent e81bedc commit 931f61d

File tree

3 files changed

+11
-9
lines changed

3 files changed

+11
-9
lines changed

.github/dependabot.yml

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,15 @@ updates:
1111
cron: "0 12 * * *" # Every day at midnight UTC
1212
allow:
1313
- dependency-name: "@mdn/browser-compat-data"
14-
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
14+
update-types:
15+
["version-update:semver-minor", "version-update:semver-patch"]
1516
- dependency-name: "web-features"
16-
update-types: ["version-update:semver-minor", "version-update:semver-patch"]
17+
update-types:
18+
["version-update:semver-minor", "version-update:semver-patch"]
1719
commit-message:
1820
prefix: "chore"
1921
include: "scope"
2022
open-pull-requests-limit: 5
2123
# Automerge minor/patch updates for these dependencies
2224
automerge: true
23-
automerge-type: "pr"
25+
automerge-type: "pr"

.github/workflows/tag_when_downstream_or_deps_change.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Tag on Dependency or Data Update
22

33
on:
44
schedule:
5-
- cron: '0 15 * * *' # Every day at 15:00 UTC
5+
- cron: "0 15 * * *" # Every day at 15:00 UTC
66

77
jobs:
88
tag-if-updated:
@@ -16,7 +16,7 @@ jobs:
1616
- name: Set up Node.js
1717
uses: actions/setup-node@v4
1818
with:
19-
node-version: '20'
19+
node-version: "20"
2020

2121
- name: Check for changes to downstream-browser.json in last 24h
2222
id: check_downstream
@@ -46,7 +46,7 @@ jobs:
4646
git config user.email "github-actions[bot]@users.noreply.github.com"
4747
npm version patch -m "chore: bump version to %s because downstream and dependencies changed [skip ci]"
4848
git push origin main --follow-tags
49-
49+
5050
- name: Bump version and push tag if needed
5151
if: steps.check_downstream.outputs.changed == 'true' && !steps.check_dependabot.outputs.merged == 'true'
5252
run: |
@@ -56,9 +56,9 @@ jobs:
5656
git push origin main --follow-tags
5757
5858
- name: Bump version and push tag if needed
59-
if: steps.check_dependabot.outputs.merged == 'true' && !steps.check_downstream.outputs.changed == 'true'
59+
if: steps.check_dependabot.outputs.merged == 'true' && !steps.check_downstream.outputs.changed == 'true'
6060
run: |
6161
git config user.name "github-actions[bot]"
6262
git config user.email "github-actions[bot]@users.noreply.github.com"
6363
npm version patch -m "chore: bump version to %s because dependencies changed[skip ci]"
64-
git push origin main --follow-tags
64+
git push origin main --follow-tags

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To install the package, run:
1717

1818
`npm install --save baseline-browser-mapping`
1919

20-
`baseline-browser-mapping` depends on `web-features` and `@mdn/browser-compat-data` for version selection. This package uses dependabot to automatically update both modules on all minor and patch version releases and is updated frequently. Consider adding a script to your `package.json` to update `basesline-browser-mapping` and using it as a build step:
20+
`baseline-browser-mapping` depends on `web-features` and `@mdn/browser-compat-data` for version selection. This package uses dependabot to automatically update both modules on all minor and patch version releases and is updated frequently. Consider adding a script to your `package.json` to update `basesline-browser-mapping` and using it as a build step:
2121

2222
```javascript
2323
"scripts": [

0 commit comments

Comments
 (0)