Skip to content

Commit 8daa781

Browse files
Merge pull request #1 from Garmingo/rewrite
Rewrite
2 parents 32c1eb5 + 2164cdc commit 8daa781

File tree

10 files changed

+2976
-4388
lines changed

10 files changed

+2976
-4388
lines changed

.github/workflows/node.js.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ name: Node.js CI
55

66
on:
77
push:
8-
branches: [ "main" ]
8+
branches: [ "master" ]
99
pull_request:
10-
branches: [ "main" ]
10+
branches: [ "master" ]
1111

1212
jobs:
1313
build:
@@ -16,7 +16,7 @@ jobs:
1616

1717
strategy:
1818
matrix:
19-
node-version: [14.x, 16.x, 18.x]
19+
node-version: [16.x, 18.x]
2020
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/
2121

2222
steps:

.github/workflows/npm-publish-github-packages.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
- uses: actions/checkout@v3
1515
- uses: actions/setup-node@v3
1616
with:
17-
node-version: 16
17+
node-version: 18
1818
- run: npm ci
1919
- run: npm test
2020

@@ -28,9 +28,9 @@ jobs:
2828
- uses: actions/checkout@v3
2929
- uses: actions/setup-node@v3
3030
with:
31-
node-version: 16
31+
node-version: 18
3232
registry-url: https://npm.pkg.github.com/
3333
- run: npm ci
3434
- run: npm publish
3535
env:
36-
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}
36+
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,9 @@
1-
node_modules
1+
# Ignore node_modules
2+
/node_modules
3+
4+
# Ignore test-related files
5+
/coverage.data
6+
/coverage/
7+
8+
# Build files
9+
/dist

jest.config.ts renamed to jest.config.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,7 @@
33
* All rights reserved.
44
* Unauthorized use, reproduction, and distribution of this source code is strictly prohibited.
55
*/
6-
/** @type {import('ts-jest').JestConfigWithTsJest} */
76
module.exports = {
8-
preset: 'ts-jest',
9-
testEnvironment: 'node',
10-
};
7+
preset: "ts-jest",
8+
testEnvironment: "node",
9+
};

0 commit comments

Comments
 (0)