Skip to content

Commit d5493f7

Browse files
authored
chore: updated configs (#14)
1 parent 02d8b64 commit d5493f7

8 files changed

Lines changed: 557 additions & 1179 deletions

File tree

β€Ž.github/workflows/nodejsci.ymlβ€Ž

Lines changed: 19 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,24 +14,24 @@ jobs:
1414

1515
strategy:
1616
matrix:
17-
node-version: [lts/*]
17+
node-version: [ lts/* ]
1818

1919
steps:
20-
- name: βš™οΈ Checkout Repository
21-
uses: actions/checkout@v6
22-
23-
- name: Use Node.js ${{ matrix.node-version }}
24-
uses: actions/setup-node@v6
25-
with:
26-
node-version: ${{ matrix.node-version }}
27-
cache: npm
28-
cache-dependency-path: '**/package-lock.json'
29-
30-
- name: πŸ“¦ Install Dependencies
31-
run: npm ci
32-
33-
- name: πŸš€ Build Package
34-
run: npm run build
35-
36-
- name: βœ… Lint Package
37-
run: npm run lint
20+
- name: βš™οΈ Checkout Repository
21+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
22+
23+
- name: Use Node.js ${{ matrix.node-version }}
24+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
25+
with:
26+
node-version: ${{ matrix.node-version }}
27+
cache: npm
28+
cache-dependency-path: '**/package-lock.json'
29+
30+
- name: πŸ“¦ Install Dependencies
31+
run: npm ci
32+
33+
- name: πŸš€ Build Package
34+
run: npm run build
35+
36+
- name: βœ… Lint Package
37+
run: npm run lint
Lines changed: 16 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,30 +1,30 @@
11
on:
22
push:
33
branches:
4-
- main
4+
- main
55

66
permissions:
77
id-token: write
88
contents: read
9-
9+
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
1313
steps:
14-
- name: βš™οΈ Checkout Repository
15-
uses: actions/checkout@v6
16-
17-
- name: πŸ› οΈ Set up Node.js
18-
uses: actions/setup-node@v6
19-
with:
20-
node-version: '24.x'
21-
registry-url: 'https://registry.npmjs.org/'
14+
- name: βš™οΈ Checkout Repository
15+
uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
16+
17+
- name: πŸ› οΈ Set up Node.js
18+
uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0
19+
with:
20+
node-version: '24.x'
21+
registry-url: 'https://registry.npmjs.org/'
2222

23-
- name: πŸ“¦ Install Dependencies
24-
run: npm ci
23+
- name: πŸ“¦ Install Dependencies
24+
run: npm ci
2525

26-
- name: πŸš€ Publish Package
27-
run: npm publish
26+
- name: πŸš€ Publish Package
27+
run: npm publish
2828

29-
- name: βœ… Publish Complete
30-
run: echo "Package published successfully."
29+
- name: βœ… Publish Complete
30+
run: echo "Package published successfully."

β€Ž.gitignoreβ€Ž

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
node_modules
22
dist
3-
*.tgz
4-
.npmrc
3+
*.tgz

β€Ž.npmrcβ€Ž

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
min-release-age=2

0 commit comments

Comments
Β (0)