Skip to content

Commit 028d3c9

Browse files
committed
Switch from Yarn to NPM for dependency installation
1 parent 6da3bbb commit 028d3c9

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.github/workflows/validation.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ jobs:
1717
uses: actions/setup-node@v4
1818
with:
1919
node-version: ${{ matrix.node-version }}
20-
cache: 'yarn'
20+
cache: 'npm'
2121

22-
- name: Install Dependencies using Yarn
23-
run: yarn --ignore-engines
22+
- name: Install Dependencies using NPM
23+
run: npm install
2424

2525
- name: Tests
26-
run: yarn test:ci
26+
run: npm test:ci
2727

2828
- name: Upload coverage to Codecov
2929
uses: codecov/codecov-action@v4

CONTRIBUTING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,14 +17,14 @@ We actively welcome your pull requests for documentation and code.
1717
4. Ensure the test suite passes.
1818
5. Make sure your code lints.
1919
6. If you haven't already, complete the Contributor License Agreement ("CLA").
20-
7. Run `yarn changeset` and describe the change you're proposing. Commit the file it creates in `.changeset` to the repo. [You can read more about changeset here.](https://github.com/changesets/changesets)
20+
7. Run `npx @changesets/cli` and describe the change you're proposing. Commit the file it creates in `.changeset` to the repo. [You can read more about changeset here.](https://github.com/changesets/changesets)
2121
8. Open a Pull Request so we can review and incorporate your change.
2222

2323
## Releases
2424

2525
To release a new version:
26-
1. Run `yarn changeset version` to bump the version of the package.
27-
2. Run `yarn release` this will create a new release on GitHub and publish the package to NPM.
26+
1. Run `npx @changesets/cli version` to bump the version of the package.
27+
2. Run `npx @changesets/cli publish` this will create a new release on GitHub and publish the package to NPM.
2828

2929
## Issues
3030

0 commit comments

Comments
 (0)