Skip to content

Commit

Permalink
feat: bump min node to 12, update dependencies
Browse files Browse the repository at this point in the history
ddebin committed Jan 9, 2023

Verified

This commit was signed with the committer’s verified signature.
WengerK Kevin Wenger
1 parent 9092d71 commit 9636bfc
Showing 4 changed files with 3,904 additions and 1,012 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -10,11 +10,11 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [10.3.0, 10, 12, 14, 16]
node-version: [12, 14, 16, 18]
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
12 changes: 6 additions & 6 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
@@ -11,10 +11,10 @@ jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
- run: npm ci
- run: npm run lint
- run: npm test
@@ -23,10 +23,10 @@ jobs:
needs: build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 12
node-version: 16
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm publish
4,888 changes: 3,890 additions & 998 deletions package-lock.json

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "yaml-sort",
"version": "1.2.1",
"version": "2.0.0",
"description": "Sort YAML files alphabetically",
"main": "yaml-sort.js",
"scripts": {
@@ -31,15 +31,15 @@
"homepage": "https://github.com/ddebin/yaml-sort#readme",
"dependencies": {
"js-yaml": "^4.0.0",
"yargs": "^16.0.0"
"yargs": "^17.0.0"
},
"devDependencies": {
"eslint": "^7.0.0",
"standard": "^16.0.4",
"eslint": "^8.0.0",
"standard": "^17.0.0",
"tape": "^5.5.2",
"tape-spawn": "^1.4.2"
},
"engines": {
"node": ">=10.3.0"
"node": ">=12"
}
}

0 comments on commit 9636bfc

Please sign in to comment.