зеркало из https://github.com/mozilla/mozjexl.git
Switch to yarn
This commit is contained in:
Родитель
00201890aa
Коммит
f8fc96d7f0
|
@ -9,27 +9,27 @@ shared:
|
|||
docker:
|
||||
- image: circleci/node:9
|
||||
|
||||
restore-yarn-cache: &restore-yarn-cache
|
||||
restore_cache:
|
||||
key: yarn-cache-{{ checksum "yarn.lock" }}
|
||||
|
||||
build: &build
|
||||
steps:
|
||||
- checkout
|
||||
- *restore-yarn-cache
|
||||
- run:
|
||||
name: Update NPM
|
||||
command: 'sudo npm install -g npm@latest'
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
- run:
|
||||
name: NPM Install
|
||||
command: npm install
|
||||
name: Yarn Install
|
||||
command: yarn install --cache-folder ~/.cache/yarn
|
||||
- save_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
key: yarn-cache-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- ~/.cache/yarn
|
||||
- node_modules
|
||||
|
||||
test: &test
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
- *restore-yarn-cache
|
||||
- run:
|
||||
name: Test
|
||||
command: npm run test
|
||||
|
@ -37,8 +37,7 @@ shared:
|
|||
lint: &lint
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
key: dependency-cache-{{ checksum "package.json" }}
|
||||
- *restore-yarn-cache
|
||||
- run:
|
||||
name: Test
|
||||
command: npm run lint
|
||||
|
|
|
@ -3,9 +3,10 @@ This project adheres to [Semantic Versioning](http://semver.org/).
|
|||
|
||||
## [Development]
|
||||
### Changed
|
||||
- Format all code with Prettier and ESLint
|
||||
- Remove Gulp and dist versions
|
||||
- Format all code with Prettier and ESLint.
|
||||
- Remove Gulp and dist versions.
|
||||
- Drop support for old versions of Node. Only Node 8 and 9 are supported.
|
||||
- Make Yarn the recommended and tested way to install mozjexl.
|
||||
|
||||
## [v1.1.6]
|
||||
### Changed
|
||||
|
|
Загрузка…
Ссылка в новой задаче