Switch from npm to yarn as package manager (#1692)
* Convert package-lock.json to yarn.lock via `yarn import` * * Update workflows to use yarn instead of npm to install dependencies
This commit is contained in:
parent
45e52357ce
commit
439521893f
|
@ -31,10 +31,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm ci
|
cache: "yarn"
|
||||||
|
- run: npm run ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
- name: Get Version Number
|
- name: Get Version Number
|
||||||
uses: nyaayaya/package-version@v1
|
uses: nyaayaya/package-version@v1
|
||||||
|
|
|
@ -19,8 +19,9 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js 14.x
|
- name: Use Node.js 14.x
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: 14.x
|
node-version: 14.x
|
||||||
- run: npm ci
|
cache: "yarn"
|
||||||
|
- run: npm run ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
|
@ -32,10 +32,11 @@ jobs:
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v2
|
||||||
- name: Use Node.js ${{ matrix.node-version }}
|
- name: Use Node.js ${{ matrix.node-version }}
|
||||||
uses: actions/setup-node@v1
|
uses: actions/setup-node@v2
|
||||||
with:
|
with:
|
||||||
node-version: ${{ matrix.node-version }}
|
node-version: ${{ matrix.node-version }}
|
||||||
- run: npm ci
|
cache: "yarn"
|
||||||
|
- run: npm run ci
|
||||||
- run: npm run lint
|
- run: npm run lint
|
||||||
|
|
||||||
- name: Get Version Number
|
- name: Get Version Number
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -46,7 +46,9 @@
|
||||||
"rebuild:node": "npm rebuild",
|
"rebuild:node": "npm rebuild",
|
||||||
"release": "run-s test build",
|
"release": "run-s test build",
|
||||||
"test": "run-s rebuild:node pack:workers jest",
|
"test": "run-s rebuild:node pack:workers jest",
|
||||||
"test:watch": "run-s rebuild:node pack:workers jest:watch"
|
"test:watch": "run-s rebuild:node pack:workers jest:watch",
|
||||||
|
|
||||||
|
"ci": "yarn install --frozen-lockfile"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
"@fortawesome/fontawesome-svg-core": "^1.2.36",
|
||||||
|
|
Loading…
Reference in New Issue