Skip to content

Commit b22675e

Browse files
committed
chore: migrate from npm to yarn package manager
- Replace npm with yarn in CI/CD publish workflow - Update dependency installation to use yarn with immutable lockfile - Remove package-lock.json and add yarn.lock - Update build command to use yarn instead of npm - Add custom HTTP headers module with trusted provider validation - Improve type definitions and utility exports - Streamline dependency management for better reproducibility
1 parent 12244b0 commit b22675e

10 files changed

Lines changed: 12040 additions & 22442 deletions

File tree

.github/workflows/publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ jobs:
5252
scope: \@${{ github.repository_owner }}
5353

5454
- name: Update npm
55-
run: npm install -g npm@latest
55+
run: npm install --global yarn
5656

5757
- name: Install dependencies
58-
run: npm ci
58+
run: yarn install --immutable --immutable-cache --check-cache
5959

6060
- name: Build package
61-
run: npm run build
61+
run: yarn build
6262

6363
- name: Publish package
6464
run: npm publish --access public

0 commit comments

Comments
 (0)