eslint-config-nodejs-pmb 0.3.13 → 0.3.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,31 +1,31 @@
1
1
  %YAML 1.1
2
2
  # ^-- ATTN: [2019-12-31] If you use a later version, Github will fail
3
3
  # with a bogus error message "You have an error in your yaml syntax".
4
- # -*- coding: UTF-8, tab-width: 4 -*-
4
+ # -*- coding: UTF-8, tab-width: 2 -*-
5
5
  ---
6
6
 
7
7
  on:
8
- push:
9
- branches:
10
- - '*'
8
+ push:
9
+ branches:
10
+ - '*'
11
11
 
12
12
  jobs:
13
- job_npm_test:
14
- runs-on: ubuntu-latest
15
- strategy:
16
- matrix:
17
- ver:
18
- - { node: 16 }
13
+ job_npm_test:
14
+ runs-on: ubuntu-latest
19
15
 
20
- steps:
21
- - uses: actions/checkout@v2
22
- - name: 'Use Node.js ${{ matrix.ver.node }}.x'
23
- uses: actions/setup-node@v1
24
- with:
25
- node-version: ${{ matrix.ver.node }}.x
26
- - run: npm install .
27
- - run: npm audit
28
- - run: npm test
16
+ strategy:
17
+ matrix:
18
+ node-version:
19
+ - 24
20
+
21
+ steps:
22
+ - uses: actions/checkout@v6
23
+ - uses: mk-pmb/github-ci-util-2405-pmb/act/install@v1
24
+ with:
25
+ nodejs_version: ${{ matrix.node-version }}
26
+
27
+ - run: ghciu npm install .
28
+ - run: ghciu npm test
29
29
 
30
30
 
31
31
  ...
@@ -0,0 +1,26 @@
1
+ %YAML 1.1
2
+ # ^-- ATTN: [2019-12-31] If you use a later version, Github will fail
3
+ # with a bogus error message "You have an error in your yaml syntax".
4
+ # -*- coding: UTF-8, tab-width: 2 -*-
5
+ ---
6
+
7
+ name: '🗑 Wipe old workflow runs manually on demand'
8
+
9
+ on:
10
+ workflow_dispatch:
11
+
12
+ jobs:
13
+ wipe_old_workflows:
14
+ runs-on: ubuntu-latest
15
+ permissions:
16
+ actions: write
17
+ steps:
18
+
19
+ - uses: mk-pmb/github-ci-util-2405-pmb/act/purge-old-workflow-runs@v1
20
+ with:
21
+ api_token: '${{ github.token }}'
22
+ older_than: '10 seconds ago'
23
+
24
+
25
+
26
+ ...
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  { "name": "eslint-config-nodejs-pmb",
2
- "version": "0.3.13",
2
+ "version": "0.3.14",
3
3
  "description": "My favorite eslint rules.",
4
4
  "keywords": [],
5
5
 
@@ -30,8 +30,7 @@
30
30
  "absdir": "^1.0.6",
31
31
  "eslint-plugin-json-light-pmb": "^1.0.7",
32
32
  "eslint-plugin-n": "^17.16.2",
33
- "p-fatal": "^0.1.5",
34
- "safe-sortedjson": "^1.0.8",
33
+ "safe-sortedjson": "^1.0.9",
35
34
  "usnam-pmb": "^0.2.5"
36
35
  },
37
36
  "peerDependencies": {
@@ -40,5 +39,5 @@
40
39
 
41
40
 
42
41
 
43
- "engines": { "npm": ">=7.0.0", "node": ">=16.0.0" }
42
+ "engines": { "npm": ">=7.0.0", "node": ">=24.0.0" }
44
43
  }
@@ -1,6 +1,5 @@
1
1
  // -*- coding: utf-8, tab-width: 2 -*-
2
2
 
3
- import 'p-fatal';
4
3
  import 'usnam-pmb';
5
4
 
6
5
  import absdir from 'absdir';