Skip to content

Commit

Permalink
Merge pull request #14 from hildjj/update-deps
Browse files Browse the repository at this point in the history
Update deps
  • Loading branch information
hildjj authored Oct 10, 2024
2 parents 5f34faf + 8aa1787 commit 1929ea6
Show file tree
Hide file tree
Showing 6 changed files with 701 additions and 230 deletions.
11 changes: 6 additions & 5 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,15 @@ on:
branches:
- main
pull_request:
branches: ['*']
branches:
- main

jobs:
build:

strategy:
matrix:
node-version: [18.x, 20.x, 21.x]
node-version: [18.x, 20.x, 22.x]
os: [ubuntu-latest, windows-latest, macos-latest]

runs-on: ${{ matrix.os }}
Expand All @@ -29,13 +30,13 @@ jobs:
- name: Install dependencies
run: pnpm install
- name: Check coding standards
if: matrix.node-version == '21.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
run: npm run lint
- name: Static analysis - check types
if: matrix.node-version == '21.x' && matrix.os == 'ubuntu-latest'
if: matrix.node-version == '22.x' && matrix.os == 'ubuntu-latest'
run: npm run build
- name: Test
run: npm run test
- uses: codecov/codecov-action@v3
- uses: codecov/codecov-action@v4
with:
token: ${{ secrets.CODECOV_TOKEN }}
1 change: 1 addition & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ jobs:
cache: pnpm
- run: pnpm i
- run: npm run ci
- run: npm pkg delete devDependencies scripts
- run: npm publish --access public --provenance
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
13 changes: 0 additions & 13 deletions eslint.config.js

This file was deleted.

13 changes: 13 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import commonjs from "@peggyjs/eslint-config/commonjs.js";
import modern from "@peggyjs/eslint-config/modern.js";

export default [
{
ignores: [
"**/*.d.ts",
"test/fixtures/bad/package.json",
],
},
...commonjs,
...modern,
];
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"semver": "7.6.3"
},
"devDependencies": {
"@peggyjs/eslint-config": "4.0.3",
"@types/node": "22.0.2",
"@peggyjs/eslint-config": "5.0.0",
"@types/node": "22.7.5",
"@types/semver": "7.5.8",
"c8": "10.1.2",
"eslint": "9.8.0",
"typescript": "5.5.4"
"eslint": "9.12.0",
"typescript": "5.6.3"
},
"packageManager": "pnpm@9.6.0",
"packageManager": "pnpm@9.12.1",
"engines": {
"node": ">=18"
}
Expand Down
Loading

0 comments on commit 1929ea6

Please sign in to comment.