Skip to content

Commit b3a0e21

Browse files
committed
fix(package): update workflow
1 parent a8ca9a3 commit b3a0e21

File tree

3 files changed

+9
-26
lines changed

3 files changed

+9
-26
lines changed

.github/workflows/checks.yml

Lines changed: 0 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -5,26 +5,6 @@ on:
55
- workflow_call
66

77
jobs:
8-
lint:
9-
runs-on: ubuntu-latest
10-
steps:
11-
- uses: actions/checkout@v3
12-
- uses: actions/setup-node@v3
13-
with:
14-
node-version: 21
15-
- run: npm install
16-
- run: npm run lint
17-
18-
typecheck:
19-
runs-on: ubuntu-latest
20-
steps:
21-
- uses: actions/checkout@v3
22-
- uses: actions/setup-node@v3
23-
with:
24-
node-version: 21
25-
- run: npm install
26-
- run: npm run typecheck
27-
288
tests:
299
runs-on: ${{ matrix.os }}
3010
strategy:

.github/workflows/release.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ on:
44
workflow_dispatch:
55
branches:
66
- main
7-
7+
inputs:
8+
release_type:
9+
description: "Type of release: major, minor, or patch"
10+
required: true
11+
default: "patch"
12+
813
permissions:
914
contents: write
1015
id-token: write

package.json

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@adityadarma/adonis-datatables",
33
"description": "Package server side datatables on AdonisJS",
4-
"version": "1.1.21",
4+
"version": "1.1.20",
55
"engines": {
66
"node": ">=20.6.0"
77
},
@@ -18,8 +18,9 @@
1818
],
1919
"exports": {
2020
".": "./build/index.js",
21-
"./datatables": "./build/services/main.js",
21+
"./datatables": "./build/src/datatables.js",
2222
"./datatables_provider": "./build/providers/datatables_provider.js",
23+
"./services/datatables": "./build/services/main.js",
2324
"./engines/lucid_datatable": "./build/src/engines/lucid_datatable.js",
2425
"./engines/database_datatable": "./build/src/engines/database_datatable.js",
2526
"./engines/object_datatable": "./build/src/engines/object_datatable.js",
@@ -102,9 +103,6 @@
102103
"push": true,
103104
"tagName": "v${version}"
104105
},
105-
"github": {
106-
"release": true
107-
},
108106
"npm": {
109107
"publish": true,
110108
"skipChecks": true

0 commit comments

Comments
 (0)