mirror of
https://github.com/ferdikoomen/openapi-typescript-codegen.git
synced 2025-12-08 20:16:21 +00:00
- Formatted build script
This commit is contained in:
parent
4b5060ed01
commit
2cd1fe1651
@ -1,31 +1,31 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: circleci/node:latest-browsers
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum "package.json" }}
|
||||
- v1-dependencies-
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: yarn install
|
||||
- save_cache:
|
||||
key: v1-dependencies-{{ checksum "package.json" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
name: Build library
|
||||
command: yarn run release
|
||||
- run:
|
||||
name: Run unit tests
|
||||
command: yarn run test:coverage
|
||||
- run:
|
||||
name: Run e2e tests
|
||||
command: yarn run test:e2e
|
||||
- run:
|
||||
name: Submit to Codecov
|
||||
command: yarn run codecov
|
||||
build:
|
||||
working_directory: ~/repo
|
||||
docker:
|
||||
- image: circleci/node:latest-browsers
|
||||
steps:
|
||||
- checkout
|
||||
- restore_cache:
|
||||
keys:
|
||||
- v1-dependencies-{{ checksum "package.json" }}
|
||||
- v1-dependencies-
|
||||
- run:
|
||||
name: Install dependencies
|
||||
command: yarn install
|
||||
- save_cache:
|
||||
key: v1-dependencies-{{ checksum "package.json" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
name: Build library
|
||||
command: yarn run release
|
||||
- run:
|
||||
name: Run unit tests
|
||||
command: yarn run test:coverage
|
||||
- run:
|
||||
name: Run e2e tests
|
||||
command: yarn run test:e2e
|
||||
- run:
|
||||
name: Submit to Codecov
|
||||
command: yarn run codecov
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user