Skip to content

Commit

Permalink
chore: 🤖 a try to use yarn
Browse files Browse the repository at this point in the history
  • Loading branch information
touv committed Aug 23, 2023
1 parent c2694cd commit 6e01514
Show file tree
Hide file tree
Showing 39 changed files with 19,094 additions and 86,623 deletions.
16 changes: 4 additions & 12 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 18.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
Expand All @@ -26,17 +26,9 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: Cache node modules
uses: actions/cache@v2
with:
path: ~/.npm
key: npm-deps-${{ hashFiles('**/package-lock.json') }}
restore-keys: npm-deps-

- name: npm install
run: |
npm ci
npm test
cache: 'yarn'
- name: Install node modules
run: yarn test

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down
3 changes: 2 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"npmClient": "yarn"
}
Loading

0 comments on commit 6e01514

Please sign in to comment.