Skip to content

Commit

Permalink
ci: fix pnpm test
Browse files Browse the repository at this point in the history
  • Loading branch information
arthurfiorette committed Feb 17, 2023
1 parent 14b1e93 commit 7a6f865
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
run: pnpm lint

- name: Test
run: pnpm test --ci --coverage
run: pnpm test -- --ci

- name: Build
run: pnpm build
Expand Down
6 changes: 3 additions & 3 deletions build/check.sh
Original file line number Diff line number Diff line change
Expand Up @@ -3,19 +3,19 @@
# This script is used to check the umd's ecmascript compatibility.
# It is intended to be run from the project's root directory.

yarn es-check es2017 dist/index.cjs dev/index.cjs
pnpm es-check es2017 dist/index.cjs dev/index.cjs

if [ $? -eq 1 ]; then
exit 1
fi

yarn es-check es2017 dist/index.mjs dev/index.mjs --module
pnpm es-check es2017 dist/index.mjs dev/index.mjs --module

if [ $? -eq 1 ]; then
exit 1
fi

yarn es-check es5 dist/index.bundle.js
pnpm es-check es5 dist/index.bundle.js

if [ $? -eq 1 ]; then
exit 1
Expand Down

0 comments on commit 7a6f865

Please sign in to comment.