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:
PikachuEXE 2021-09-19 15:25:47 +08:00 committed by GitHub
parent 45e52357ce
commit 439521893f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
6 changed files with 9097 additions and 13186 deletions

View File

@ -31,10 +31,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
cache: "yarn"
- run: npm run ci
- run: npm run lint
- name: Get Version Number
uses: nyaayaya/package-version@v1

View File

@ -19,8 +19,9 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: 14.x
- run: npm ci
cache: "yarn"
- run: npm run ci
- run: npm run lint

View File

@ -32,10 +32,11 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
- run: npm ci
cache: "yarn"
- run: npm run ci
- run: npm run lint
- name: Get Version Number

13179
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -46,7 +46,9 @@
"rebuild:node": "npm rebuild",
"release": "run-s test build",
"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": {
"@fortawesome/fontawesome-svg-core": "^1.2.36",

9085
yarn.lock Normal file

File diff suppressed because it is too large Load Diff