Skip to content

Commit

Permalink
fix(package): use npm
Browse files Browse the repository at this point in the history
jest not works with modules installed by yarn
  • Loading branch information
chemzqm committed Aug 31, 2023
1 parent 0189ace commit 0e6be47
Show file tree
Hide file tree
Showing 6 changed files with 8,853 additions and 1,372 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node }}
cache: "yarn"
cache: "npm"

- name: Setup python3
uses: actions/setup-python@v4
Expand All @@ -64,7 +64,7 @@ jobs:
- name: Install Dependencies
run: |
yarn global add bytes
yarn install --frozen-lockfile
npm install --frozen-lockfile
sudo apt-get install -y xclip ripgrep exuberant-ctags
xclip -version
rg --version
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v3
with:
cache: "yarn"
cache: "npm"

- name: Install Dependencies
run: yarn install --frozen-lockfile
run: npm install --frozen-lockfile

- name: Check Types by TSC
run: yarn lint:typecheck
Expand All @@ -32,4 +32,4 @@ jobs:
run: yarn lint

- name: Check Lock File Changes
run: yarn && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."
run: npm install && echo "Listing changed files:" && git diff --name-only --exit-code && echo "No files changed during lint."
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,3 @@ publish.sh
release.sh
!src/__tests__/tags
src/__tests__/extensions/db.json
package-lock.json

0 comments on commit 0e6be47

Please sign in to comment.