Skip to content

Commit c41f739

Browse files
authored
Modernize again (#11)
1 parent 829af05 commit c41f739

File tree

16 files changed

+6872
-9231
lines changed

16 files changed

+6872
-9231
lines changed

.eslintrc.js

Lines changed: 0 additions & 240 deletions
This file was deleted.

.github/workflows/awaitqueue.yaml

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,10 @@
11
name: awaitqueue
22

3-
on: [push, pull_request]
3+
on:
4+
push:
5+
branches: [master]
6+
pull_request:
7+
workflow_dispatch:
48

59
concurrency:
610
# Cancel a currently running workflow from the same PR, branch or tag when a
@@ -13,9 +17,9 @@ jobs:
1317
strategy:
1418
matrix:
1519
ci:
16-
- os: ubuntu-20.04
17-
node: 16
1820
- os: ubuntu-22.04
21+
node: 18
22+
- os: ubuntu-24.04
1923
node: 20
2024
- os: ubuntu-24.04
2125
node: 22
@@ -48,6 +52,11 @@ jobs:
4852
restore-keys: |
4953
${{ matrix.ci.os }}-node-
5054
51-
- run: npm ci
52-
- run: npm run lint
53-
- run: npm run test
55+
- name: npm ci
56+
run: npm ci --foreground-scripts
57+
58+
- name: npm run lint
59+
run: npm run lint
60+
61+
- name: npm run test
62+
run: npm run test

.npmrc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,4 @@
1+
# Generate package-lock.json.
12
package-lock=true
3+
# For bad node/npm version to throw actual error.
4+
engine-strict=true

.prettierrc.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"useTabs": true,
3+
"tabWidth": 2,
4+
"arrowParens": "avoid",
5+
"bracketSpacing": true,
6+
"semi": true,
7+
"singleQuote": true,
8+
"trailingComma": "es5",
9+
"endOfLine": "auto"
10+
}

0 commit comments

Comments
 (0)