Skip to content

Commit

Permalink
Migrate from yarn to npm (#948)
Browse files Browse the repository at this point in the history
  • Loading branch information
trivikr authored Oct 23, 2024
1 parent 62bb864 commit bb4f713
Show file tree
Hide file tree
Showing 9 changed files with 5,301 additions and 4,529 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,12 @@ jobs:
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: "yarn"
cache: "npm"
- name: install
run: yarn
run: npm install
- name: lint+format
run: biome ci
- name: build
run: yarn build
run: npm run build
- name: test
run: yarn test
run: npm run test
6 changes: 3 additions & 3 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,15 +20,15 @@ jobs:
run: corepack enable
- uses: actions/setup-node@v4
with:
cache: "yarn"
cache: "npm"

- run: yarn
- run: npm install

- name: Create Release Pull Request or Publish to npm
id: changesets
uses: changesets/action@v1
with:
publish: yarn release
publish: npm run release
title: Publish <version>
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
Expand Down
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
legacy-peer-deps=true
1 change: 0 additions & 1 deletion .yarnrc.yml

This file was deleted.

Loading

0 comments on commit bb4f713

Please sign in to comment.