Skip to content

Commit d3e3367

Browse files
authored
Merge pull request #346 from Staffbase/build/pnpm
build: add pnpm
2 parents 7bc3f60 + c7032b4 commit d3e3367

File tree

8 files changed

+5075
-11302
lines changed

8 files changed

+5075
-11302
lines changed

.github/CODEOWNERS

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
* @staffbase-robert @0x46616c6b @flaxel
1+
* @staffbase-robert @0x46616c6b @flaxel @1uweb

.github/release-drafter.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,9 @@ categories:
1212
labels:
1313
- 'chore'
1414
- 'dependencies'
15+
- title: '🧹 Documentation'
16+
labels:
17+
- 'documentation'
1518
template: |
1619
## Changes
1720

.github/workflows/check-dist.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,20 @@ jobs:
2323
steps:
2424
- uses: actions/checkout@v4
2525

26+
- uses: pnpm/action-setup@v4
27+
name: Install pnpm
28+
2629
- name: Setup Node
2730
uses: actions/setup-node@v4
2831
with:
2932
node-version-file: '.nvmrc'
30-
cache: 'npm'
33+
cache: 'pnpm'
3134

3235
- name: Install Dependencies
33-
run: npm ci
36+
run: pnpm install --frozen-lockfile --ignore-scripts
3437

3538
- name: Rebuild the dist/ directory
36-
run: npm run build
39+
run: pnpm run build
3740

3841
- name: Compare the expected and actual dist/ directories
3942
run: |

.github/workflows/integration.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,17 +15,20 @@ jobs:
1515
- name: Checkout
1616
uses: actions/checkout@v4
1717

18+
- uses: pnpm/action-setup@v4
19+
name: Install pnpm
20+
1821
- name: Setup Node
1922
uses: actions/setup-node@v4
2023
with:
2124
node-version-file: '.nvmrc'
22-
cache: 'npm'
25+
cache: 'pnpm'
2326

2427
- name: Install Dependencies
25-
run: npm install
28+
run: pnpm install --frozen-lockfile --ignore-scripts
2629

2730
- name: Build Action
28-
run: npm run all
31+
run: pnpm run all
2932

3033
test:
3134
name: Test

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ You can create a new release by creating a new tag and bump the version in `pack
101101
Very nice that you want to work on the action. To create a working implementation, you can use the following command to perform all the necessary actions.
102102

103103
```bash
104-
npm run all
104+
pnpm run all
105105
```
106106

107107
<table>

0 commit comments

Comments
 (0)