Skip to content

Commit f4f2f8e

Browse files
committed
fix: drop node14 support
BREAKING CHANGE: support for node 14 has been removed
1 parent baaa886 commit f4f2f8e

File tree

8 files changed

+24
-22
lines changed

8 files changed

+24
-22
lines changed

.github/dependabot.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,6 @@ updates:
77
directory: /
88
schedule:
99
interval: daily
10-
target-branch: "main"
1110
allow:
1211
- dependency-type: direct
1312
versioning-strategy: increase-if-necessary

.github/workflows/ci-release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ jobs:
6161
6262
return { summary }
6363
- name: Create Check
64-
uses: LouisBrunner/checks-action@v1.6.0
64+
uses: LouisBrunner/checks-action@v1.3.1
6565
id: check
6666
if: inputs.check-sha
6767
with:
@@ -93,7 +93,7 @@ jobs:
9393
- name: Post Lint
9494
run: npm run postlint --ignore-scripts
9595
- name: Conclude Check
96-
uses: LouisBrunner/checks-action@v1.6.0
96+
uses: LouisBrunner/checks-action@v1.3.1
9797
if: steps.check.outputs.check_id && always()
9898
with:
9999
token: ${{ secrets.GITHUB_TOKEN }}
@@ -117,8 +117,6 @@ jobs:
117117
os: windows-latest
118118
shell: cmd
119119
node-version:
120-
- 14.17.0
121-
- 14.x
122120
- 16.13.0
123121
- 16.x
124122
- 18.0.0
@@ -162,7 +160,7 @@ jobs:
162160
163161
return { summary }
164162
- name: Create Check
165-
uses: LouisBrunner/checks-action@v1.6.0
163+
uses: LouisBrunner/checks-action@v1.3.1
166164
id: check
167165
if: inputs.check-sha
168166
with:
@@ -208,7 +206,7 @@ jobs:
208206
- name: Test
209207
run: npm test --ignore-scripts
210208
- name: Conclude Check
211-
uses: LouisBrunner/checks-action@v1.6.0
209+
uses: LouisBrunner/checks-action@v1.3.1
212210
if: steps.check.outputs.check_id && always()
213211
with:
214212
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/ci.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ on:
88
push:
99
branches:
1010
- main
11+
- latest
1112
schedule:
1213
# "At 09:00 UTC (02:00 PT) on Monday" https://crontab.guru/#0_9_*_*_1
1314
- cron: "0 9 * * 1"
@@ -59,8 +60,6 @@ jobs:
5960
os: windows-latest
6061
shell: cmd
6162
node-version:
62-
- 14.17.0
63-
- 14.x
6463
- 16.13.0
6564
- 16.x
6665
- 18.0.0

.github/workflows/codeql-analysis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,11 @@ on:
66
push:
77
branches:
88
- main
9+
- latest
910
pull_request:
1011
branches:
1112
- main
13+
- latest
1214
schedule:
1315
# "At 10:00 UTC (03:00 PT) on Monday" https://crontab.guru/#0_10_*_*_1
1416
- cron: "0 10 * * 1"

.github/workflows/pull-request.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,5 @@ jobs:
4444
npx --offline commitlint -V --from 'origin/${{ github.base_ref }}' --to ${{ github.event.pull_request.head.sha }}
4545
- name: Run Commitlint on PR Title
4646
if: steps.commit.outcome == 'failure'
47-
env:
48-
PR_TITLE: ${{ github.event.pull_request.title }}
4947
run: |
50-
echo "$PR_TITLE" | npx --offline commitlint -V
48+
echo '${{ github.event.pull_request.title }}' | npx --offline commitlint -V

.github/workflows/release.yml

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ on:
1111
push:
1212
branches:
1313
- main
14+
- latest
15+
- release/v*
1416

1517
permissions:
1618
contents: write
@@ -76,7 +78,7 @@ jobs:
7678
let commentId = comments.find(c => c.user.login === 'github-actions[bot]' && c.body.startsWith(body))?.id
7779
7880
body += `Release workflow run: ${workflow.html_url}\n\n#### Force CI to Update This Release\n\n`
79-
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`${REF_NAME}\`. `
81+
body += `This PR will be updated and CI will run for every non-\`chore:\` commit that is pushed to \`main\`. `
8082
body += `To force CI to update this PR, run this command:\n\n`
8183
body += `\`\`\`\ngh workflow run release.yml -r ${REF_NAME} -R ${owner}/${repo} -f release-pr=${issue_number}\n\`\`\``
8284
@@ -122,7 +124,7 @@ jobs:
122124
123125
return { summary }
124126
- name: Create Check
125-
uses: LouisBrunner/checks-action@v1.6.0
127+
uses: LouisBrunner/checks-action@v1.3.1
126128
id: check
127129
if: steps.release.outputs.pr-sha
128130
with:
@@ -213,7 +215,7 @@ jobs:
213215
214216
return { summary }
215217
- name: Create Check
216-
uses: LouisBrunner/checks-action@v1.6.0
218+
uses: LouisBrunner/checks-action@v1.3.1
217219
id: check
218220
if: steps.commit.outputs.sha
219221
with:
@@ -223,7 +225,7 @@ jobs:
223225
sha: ${{ steps.commit.outputs.sha }}
224226
output: ${{ steps.check-output.outputs.result }}
225227
- name: Conclude Check
226-
uses: LouisBrunner/checks-action@v1.6.0
228+
uses: LouisBrunner/checks-action@v1.3.1
227229
if: needs.release.outputs.check-id && always()
228230
with:
229231
token: ${{ secrets.GITHUB_TOKEN }}
@@ -261,7 +263,7 @@ jobs:
261263
fi
262264
echo "result=$result" >> $GITHUB_OUTPUT
263265
- name: Conclude Check
264-
uses: LouisBrunner/checks-action@v1.6.0
266+
uses: LouisBrunner/checks-action@v1.3.1
265267
if: needs.update.outputs.check-id && always()
266268
with:
267269
token: ${{ secrets.GITHUB_TOKEN }}
@@ -320,7 +322,6 @@ jobs:
320322
shell: bash
321323
permissions:
322324
deployments: write
323-
id-token: write
324325
steps:
325326
- name: Checkout
326327
uses: actions/checkout@v3
@@ -337,7 +338,7 @@ jobs:
337338
- name: Publish
338339
env:
339340
PUBLISH_TOKEN: ${{ secrets.PUBLISH_TOKEN }}
340-
run: npm publish --provenance
341+
run: npm publish
341342

342343
post-release-integration:
343344
needs: [ release, release-integration ]

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
!/bin/
1616
!/CHANGELOG*
1717
!/CODE_OF_CONDUCT.md
18-
!/CONTRIBUTING.md
1918
!/docs/
2019
!/lib/
2120
!/LICENSE*

package.json

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -57,11 +57,17 @@
5757
]
5858
},
5959
"engines": {
60-
"node": "^14.17.0 || ^16.13.0 || >=18.0.0"
60+
"node": "^16.13.0 || >=18.0.0"
6161
},
6262
"templateOSS": {
6363
"//@npmcli/template-oss": "This file is partially managed by @npmcli/template-oss. Edits may be overwritten.",
64-
"version": "4.18.0",
64+
"ciVersions": [
65+
"16.13.0",
66+
"16.x",
67+
"18.0.0",
68+
"18.x"
69+
],
70+
"version": "4.13.0",
6571
"publish": "true"
6672
}
6773
}

0 commit comments

Comments
 (0)