Skip to content

Commit

Permalink
fix(package): update workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
adityadarma committed Jan 8, 2025
1 parent a8ca9a3 commit b3a0e21
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 26 deletions.
20 changes: 0 additions & 20 deletions .github/workflows/checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
7 changes: 6 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
8 changes: 3 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -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"
},
Expand All @@ -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",
Expand Down Expand Up @@ -102,9 +103,6 @@
"push": true,
"tagName": "v${version}"
},
"github": {
"release": true
},
"npm": {
"publish": true,
"skipChecks": true
Expand Down

0 comments on commit b3a0e21

Please sign in to comment.