Skip to content

Commit eda5128

Browse files
committed
start
1 parent 3306fb3 commit eda5128

4 files changed

Lines changed: 24 additions & 27 deletions

File tree

.github/workflows/publish.yml

Lines changed: 9 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,20 @@
11
name: publish
22

33
on:
4-
push:
5-
branches:
6-
- main
7-
paths:
8-
- package.json
9-
release:
10-
types: [published]
4+
release:
5+
types: [published]
116

127
env:
138
CI: true
14-
node-version: 20
9+
node-version: 22
1510

1611
jobs:
1712
build:
1813
runs-on: ubuntu-latest
1914
steps:
2015
- run: sudo /etc/init.d/mysql start
21-
- uses: actions/checkout@v4
22-
- uses: actions/setup-node@v4
16+
- uses: actions/checkout@v6
17+
- uses: actions/setup-node@v6
2318
with:
2419
node-version: ${{ env.node-version }}
2520
- run: sh sql/init-mysql.sh
@@ -30,25 +25,19 @@ jobs:
3025
needs: build
3126
runs-on: ubuntu-latest
3227
steps:
33-
- uses: actions/setup-node@v4
28+
- uses: actions/setup-node@v6
3429
name: Node ${{ env.node-version }}
3530
with:
3631
node-version: ${{ env.node-version }}
3732
registry-url: https://registry.npmjs.org/
3833

39-
- uses: actions/checkout@v4
34+
- uses: actions/checkout@v6
4035
with:
4136
fetch-depth: 0
4237
# fetch-depth 0 needed by GitHub Release
4338

4439
- name: publish to NPM
4540
run: npm publish --access=public
46-
env:
47-
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}
48-
49-
- name: GitHub Release
50-
uses: justincy/github-action-npm-release@2.0.1
51-
id: release
5241

5342
publish-gpr:
5443
needs: build
@@ -57,8 +46,8 @@ jobs:
5746
contents: read
5847
packages: write
5948
steps:
60-
- uses: actions/checkout@v4
61-
- uses: actions/setup-node@v4
49+
- uses: actions/checkout@v6
50+
- uses: actions/setup-node@v6
6251
with:
6352
node-version: ${{ env.node-version }}
6453
registry-url: https://npm.pkg.github.com/

.prettierrc.yml

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

CHANGELOG.md

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
66

77
### Unreleased
88

9+
### [3.0.0-alpha.7] - 2026-03-13
10+
11+
- fixes
12+
13+
914
### [3.0.0-alpha.6] - 2025-04-08
1015

1116
- dep(eslint): upgraded to v9
@@ -47,6 +52,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/).
4752
[3.0.0-alpha.1]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.1
4853
[3.0.0-alpha.2]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.2
4954
[3.0.0-alpha.3]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.3
50-
[3.0.0-alpha.4]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.4
51-
[3.0.0-alpha.5]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.5
52-
[3.0.0-alpha.6]: https://github.com/NicTool/api/releases/tag/3.0.0-alpha.6
55+
[3.0.0-alpha.4]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.4
56+
[3.0.0-alpha.5]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.5
57+
[3.0.0-alpha.6]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.6
58+
[3.0.0-alpha.7]: https://github.com/NicTool/api/releases/tag/v3.0.0-alpha.7

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
22
"name": "@nictool/api",
3-
"version": "3.0.0-alpha.6",
3+
"version": "3.0.0-alpha.7",
44
"description": "NicTool API",
55
"main": "index.js",
66
"type": "module",
7+
"files": [ "CHANGELOG.md", "conf.d", "html", "lib", "routes", "sql", "server.js" ],
78
"scripts": {
89
"format": "npm run lint:fix && npm run prettier:fix",
910
"lint": "npx eslint *.js **/*.js",
@@ -51,5 +52,9 @@
5152
"mysql2": "^3.14.0",
5253
"qs": "^6.14.0",
5354
"yaml": "^2.7.1"
55+
},
56+
"prettier": {
57+
"singleQuote": true,
58+
"semi": false
5459
}
5560
}

0 commit comments

Comments
 (0)