Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
cache: npm

- name: yarn
run: yarn install --frozen-lockfile
- name: npm
run: npm ci

- name: build
run: yarn build
run: npm run build
10 changes: 5 additions & 5 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
cache: npm

- name: yarn
run: yarn install --frozen-lockfile
- name: npm
run: npm ci

- name: prettier
run: yarn prettier --check .
run: npx prettier --check .

- name: lint
run: yarn eslint .
run: npx eslint .
8 changes: 4 additions & 4 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,15 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
cache: npm
registry-url: 'https://registry.npmjs.org'

- name: yarn
run: yarn install --frozen-lockfile
- name: npm
run: npm ci

- name: build ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
run: yarn build
run: npm run build

- name: publish ${{ matrix.package }}
working-directory: packages/${{ matrix.package }}
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,13 @@ jobs:
- uses: actions/setup-node@v3
with:
node-version: '22.x'
cache: 'yarn'
cache: npm

- name: yarn
run: yarn install --frozen-lockfile
- name: npm
run: npm ci

- name: test
run: yarn test --coverage
run: npm test --coverage

- name: codecov
uses: codecov/codecov-action@v3
Expand Down
2 changes: 1 addition & 1 deletion .husky/commit-msg
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn commitlint --edit "$1"
npx commitlint --edit "$1"
4 changes: 2 additions & 2 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn pretty-quick --staged
yarn lint-staged
npx pretty-quick --staged
npx lint-staged
2 changes: 1 addition & 1 deletion .husky/pre-push
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

yarn test
npm test
Loading
Loading