diff --git a/.github/workflows/checks.yml b/.github/workflows/checks.yml index dd83ddc..805e0d1 100644 --- a/.github/workflows/checks.yml +++ b/.github/workflows/checks.yml @@ -5,26 +5,6 @@ on: - workflow_call jobs: - lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 21 - - run: npm install - - run: npm run lint - - typecheck: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 21 - - run: npm install - - run: npm run typecheck - tests: runs-on: ${{ matrix.os }} strategy: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b79ad75..0a3c3b7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,7 +4,12 @@ on: workflow_dispatch: branches: - main - + inputs: + release_type: + description: "Type of release: major, minor, or patch" + required: true + default: "patch" + permissions: contents: write id-token: write diff --git a/package.json b/package.json index 6fefe4b..b5f17f9 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@adityadarma/adonis-datatables", "description": "Package server side datatables on AdonisJS", - "version": "1.1.21", + "version": "1.1.20", "engines": { "node": ">=20.6.0" }, @@ -18,8 +18,9 @@ ], "exports": { ".": "./build/index.js", - "./datatables": "./build/services/main.js", + "./datatables": "./build/src/datatables.js", "./datatables_provider": "./build/providers/datatables_provider.js", + "./services/datatables": "./build/services/main.js", "./engines/lucid_datatable": "./build/src/engines/lucid_datatable.js", "./engines/database_datatable": "./build/src/engines/database_datatable.js", "./engines/object_datatable": "./build/src/engines/object_datatable.js", @@ -102,9 +103,6 @@ "push": true, "tagName": "v${version}" }, - "github": { - "release": true - }, "npm": { "publish": true, "skipChecks": true