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