Skip to content

Commit

Permalink
Merge pull request #367 from Inist-CNRS/yarn-1
Browse files Browse the repository at this point in the history
Yarn
  • Loading branch information
touv authored Sep 8, 2023
2 parents c34d2b5 + 9c81149 commit ecb06e9
Show file tree
Hide file tree
Showing 24 changed files with 13,110 additions and 86,604 deletions.
23 changes: 9 additions & 14 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,26 +17,21 @@ jobs:
strategy:
fail-fast: false
matrix:
node-version: [12.x, 14.x, 16.x]
node-version: [12.x, 14.x, 16.x, 18.x, 20.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v3
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v3
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 dependencies
run: yarn run ci:install
- name: Testing all packages
run: yarn run ci:test

- name: Coveralls Parallel
uses: coverallsapp/github-action@master
Expand Down
2 changes: 1 addition & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
; see https://docs.npmjs.com/misc/config#save-exact
save-exact = true
; see https://docs.npmjs.com/cli/v9/using-npm/config#engine-strict
engine-strict = true
engine-strict = false
4 changes: 3 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,7 @@
"packages": [
"packages/*"
],
"version": "independent"
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true
}
Loading

0 comments on commit ecb06e9

Please sign in to comment.