Skip to content

Commit e3a2fa0

Browse files
committed
chore: streamline CI workflows by removing duplicate pnpm installation steps and add .npmignore for development files
1 parent f07da7f commit e3a2fa0

File tree

4 files changed

+69
-12
lines changed

4 files changed

+69
-12
lines changed

.github/workflows/ci.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -17,17 +17,17 @@ jobs:
1717
steps:
1818
- uses: actions/checkout@v4
1919

20+
- name: Install pnpm
21+
uses: pnpm/action-setup@v2
22+
with:
23+
version: 10
24+
2025
- name: Use Node.js ${{ matrix.node-version }}
2126
uses: actions/setup-node@v4
2227
with:
2328
node-version: ${{ matrix.node-version }}
2429
cache: 'pnpm'
2530

26-
- name: Install pnpm
27-
uses: pnpm/action-setup@v2
28-
with:
29-
version: 10
30-
3131
- name: Install dependencies
3232
run: pnpm install
3333

.github/workflows/release.yml

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -11,18 +11,16 @@ jobs:
1111
steps:
1212
- uses: actions/checkout@v4
1313

14+
- name: Install pnpm
15+
uses: pnpm/action-setup@v2
16+
with:
17+
version: 10
1418
- name: Setup Node.js
1519
uses: actions/setup-node@v4
1620
with:
1721
node-version: '20.x'
1822
registry-url: 'https://registry.npmjs.org'
1923

20-
- name: Install pnpm
21-
uses: pnpm/action-setup@v2
22-
with:
23-
version: 10
24-
run_install: false
25-
2624
- name: Install dependencies
2725
run: pnpm install
2826

.npmignore

Lines changed: 55 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,55 @@
1+
# Development files
2+
src/
3+
tests/
4+
__tests__/
5+
coverage/
6+
.nyc_output/
7+
jest.config.js
8+
tsconfig.json
9+
tsconfig.*.json
10+
tsconfig.tsbuildinfo
11+
.eslintrc.js
12+
.eslintrc.json
13+
.eslintignore
14+
.prettierrc
15+
.prettierrc.js
16+
.prettier.config.js
17+
prettier.config.js
18+
.prettierignore
19+
.vscode/
20+
.idea/
21+
.editorconfig
22+
.huskyrc
23+
.huskyrc.js
24+
.lintstagedrc
25+
.lintstagedrc.js
26+
27+
# GitHub specific files
28+
.github/
29+
CONTRIBUTING.md
30+
CHANGELOG.md
31+
.gitattributes
32+
33+
# CI/CD configs
34+
.travis.yml
35+
.gitlab-ci.yml
36+
azure-pipelines.yml
37+
appveyor.yml
38+
.circleci/
39+
40+
# Build artifacts
41+
*.tsbuildinfo
42+
*.tgz
43+
*.log
44+
*.tmp
45+
*.bak
46+
47+
# Temporary files
48+
tmp/
49+
temp/
50+
51+
# Misc
52+
.DS_Store
53+
Thumbs.db
54+
*.swp
55+
*~

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,11 @@
22
"name": "@blockingmachine/core",
33
"version": "1.0.0-beta.3",
44
"type": "module",
5+
"author": {
6+
"name": "Daniel Hipskind",
7+
"email": "me@danielhipskind.com",
8+
"url": "https://danielhipskind.com"
9+
},
510
"exports": {
611
".": {
712
"import": "./dist/index.js",
@@ -66,7 +71,6 @@
6671
"typescript-eslint": "^8.31.1"
6772
},
6873
"engines": {
69-
"node": ">=14.16",
7074
"npm": ">=11.3.0"
7175
},
7276
"publishConfig": {

0 commit comments

Comments
 (0)