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
38 changes: 19 additions & 19 deletions .github/workflows/nodejsci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,24 +14,24 @@ jobs:

strategy:
matrix:
node-version: [lts/*]
node-version: [ lts/* ]

steps:
- name: ⚙️ Checkout Repository
uses: actions/checkout@v6

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v6
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: '**/package-lock.json'
- name: 📦 Install Dependencies
run: npm ci

- name: 🚀 Build Package
run: npm run build

- name: ✅ Lint Package
run: npm run lint
- name: ⚙️ Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: ${{ matrix.node-version }}
cache: npm
cache-dependency-path: '**/package-lock.json'

- name: 📦 Install Dependencies
run: npm ci

- name: 🚀 Build Package
run: npm run build

- name: ✅ Lint Package
run: npm run lint
32 changes: 16 additions & 16 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -1,30 +1,30 @@
on:
push:
branches:
- main
- main

permissions:
id-token: write
contents: read

jobs:
publish:
runs-on: ubuntu-latest
steps:
- name: ⚙️ Checkout Repository
uses: actions/checkout@v6
- name: 🛠️ Set up Node.js
uses: actions/setup-node@v6
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org/'
- name: ⚙️ Checkout Repository
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3

- name: 🛠️ Set up Node.js
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
with:
node-version: '24.x'
registry-url: 'https://registry.npmjs.org/'

- name: 📦 Install Dependencies
run: npm ci
- name: 📦 Install Dependencies
run: npm ci

- name: 🚀 Publish Package
run: npm publish
- name: 🚀 Publish Package
run: npm publish

- name: ✅ Publish Complete
run: echo "Package published successfully."
- name: ✅ Publish Complete
run: echo "Package published successfully."
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
node_modules
dist
*.tgz
.npmrc
*.tgz
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
min-release-age=2
Loading