Skip to content

Commit

Permalink
chore: drop yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
homer0 committed Jan 29, 2023
1 parent 52e1c8d commit 228949d
Show file tree
Hide file tree
Showing 10 changed files with 17,572 additions and 5,142 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/results.yml
Expand Up @@ -23,8 +23,8 @@ jobs:
- name: Install dependencies
env:
HUSKY_SKIP_INSTALL: 1
run: yarn --frozen-lockfile
- run: yarn results
run: npm ci
- run: npm run results
- name: Configure Git User
run: |
git config --global user.name '@homer0'
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Expand Up @@ -14,9 +14,9 @@ jobs:
- uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node }}
- run: yarn --frozen-lockfile
- run: yarn lint:all
- run: yarn test
- run: npm ci
- run: npm run lint:all
- run: npm test
- name: Coveralls
if: ${{ matrix.node == '16' }}
uses: coverallsapp/github-action@master
Expand Down
6 changes: 1 addition & 5 deletions .husky/commit-msg
@@ -1,8 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if hash yarn 2>/dev/null; then
yarn commitlint --edit $1
else
npx commitlint --edit $1
fi
npx commitlint --edit $1
6 changes: 1 addition & 5 deletions .husky/post-merge
@@ -1,9 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if hash yarn 2>/dev/null; then
yarn
else
npm install
fi
npm install

6 changes: 1 addition & 5 deletions .husky/pre-commit
@@ -1,8 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if hash yarn 2>/dev/null; then
yarn run lint
else
npm run lint
fi
npm run lint
6 changes: 1 addition & 5 deletions .husky/pre-push
@@ -1,8 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

if hash yarn 2>/dev/null; then
yarn test
else
npm test
fi
npm test

0 comments on commit 228949d

Please sign in to comment.