Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .github/workflows/main.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ jobs:
node-version: ${{ matrix.node-version }}
- name: Install Dependencies
run: npm ci --ignore-scripts
- name: afterinstall
run: npm run afterinstall
- name: Run Test Cases
run: npm run test

Expand Down
11 changes: 7 additions & 4 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ on: workflow_dispatch

permissions:
contents: write
id-token: write # REQUIRED for trusted publishing
id-token: write # REQUIRED for trusted publishing

jobs:
Release:
Expand All @@ -21,11 +21,11 @@ jobs:
token: ${{ secrets.RELEASE_COMMIT_GH_PAT }}

- name: Setup Node
uses: actions/setup-node@v4 # UPDATED to v4
uses: actions/setup-node@v4 # UPDATED to v4
with:
node-version: '22'
registry-url: 'https://registry.npmjs.org'
always-auth: false # important for trusted publishing
always-auth: false # important for trusted publishing

- name: Configure CI Git User
run: |
Expand All @@ -38,7 +38,10 @@ jobs:
CONFIG_EMAIL: ${{ vars.RELEASE_COMMIT_EMAIL }}

- name: Install 📌
run: npm install --ignore-scripts
run: npm ci --ignore-scripts

- name: afterinstall
run: npm run afterinstall

- name: Test 🔧
run: npm run test
Expand Down
18 changes: 9 additions & 9 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,8 @@
"posttest": "npm run lint",
"test:dev": "lb-mocha --allow-console-logs dist/__tests__/**/*.js && npm run posttest",
"prepublishOnly": "npm run test",
"prepare": "husky install"
"prepare": "husky install",
"afterinstall": "npm rebuild sqlite3"
},
"repository": {
"type": "git",
Expand Down Expand Up @@ -158,14 +159,13 @@
],
"@semantic-release/release-notes-generator",
[
"@semantic-release/npm",
{
"npmPublish": true,
"pkgRoot": ".",
"tarballDir": "dist"
}
],

"@semantic-release/npm",
{
"npmPublish": true,
"pkgRoot": ".",
"tarballDir": "dist"
}
],
[
"@semantic-release/git",
{
Expand Down
Loading