Skip to content

Commit b4b29a0

Browse files
build: switch from yarn to npm
1 parent 8efc80b commit b4b29a0

File tree

5 files changed

+12371
-6564
lines changed

5 files changed

+12371
-6564
lines changed

.github/workflows/validate-commits.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,16 +17,16 @@ jobs:
1717
with:
1818
node-version-file: .node-version
1919
registry-url: https://registry.npmjs.org
20-
cache: yarn
20+
cache: npm
2121
- name: Install dependencies
22-
run: yarn --frozen-lockfile && yarn bin >> $GITHUB_PATH
22+
run: npm install
2323
- name: Run commitlint
2424
if: github.actor != 'dependabot[bot]'
2525
run: commitlint --from ${{ github.event.pull_request.head.sha }}~${{ github.event.pull_request.commits }} --to ${{ github.event.pull_request.head.sha }} --verbose
2626
- name: Run linters
27-
run: yarn lint:code
27+
run: npm run lint:code
2828
- name: Run tests
29-
run: yarn test
29+
run: npm run test
3030
env:
3131
TEST_CLIENT_EMAIL: ${{ secrets.TEST_CLIENT_EMAIL }}
3232
TEST_PRIVATE_KEY: ${{ secrets.TEST_PRIVATE_KEY }}

.husky/pre-push

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@
44
. "$(dirname "$0")/_/husky.sh"
55

66
# Run CI checks.
7-
yarn ci
7+
npm run ci

0 commit comments

Comments
 (0)