mirror of
https://github.com/h3poteto/whalebird-desktop
synced 2025-01-22 13:40:13 +01:00
Remove circleci config
This commit is contained in:
parent
b3973c0c4c
commit
f9d63b425e
@ -1,71 +0,0 @@
|
||||
version: 2
|
||||
jobs:
|
||||
build:
|
||||
docker:
|
||||
- image: node:16.13.1-buster-slim
|
||||
working_directory: /var/opt/app
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: git
|
||||
command: |
|
||||
apt-get update
|
||||
apt-get install -y git
|
||||
- restore_cache:
|
||||
name: Restoring cache - node_modules
|
||||
keys:
|
||||
- node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||
- run:
|
||||
name: Install packages
|
||||
command: yarn install
|
||||
- save_cache:
|
||||
name: Saving cache - node_modules
|
||||
key: node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
name: spec
|
||||
command: yarn run spec
|
||||
- run:
|
||||
name: compile main
|
||||
command: yarn run pack:main
|
||||
- run:
|
||||
name: compile renderer
|
||||
command: yarn run pack:renderer
|
||||
|
||||
lint:
|
||||
docker:
|
||||
- image: node:16.13.1-buster-slim
|
||||
working_directory: /var/opt/app
|
||||
steps:
|
||||
- checkout
|
||||
- run:
|
||||
name: git
|
||||
command: |
|
||||
apt-get update
|
||||
apt-get install -y git
|
||||
- restore_cache:
|
||||
name: Restoring cache - node_modules
|
||||
keys:
|
||||
- node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||
- run:
|
||||
name: Install packages
|
||||
command: yarn install
|
||||
- save_cache:
|
||||
name: Saving cache - node_modules
|
||||
key: node_modules-{{ arch }}-node16.13.1-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
|
||||
paths:
|
||||
- node_modules
|
||||
- run:
|
||||
name: typecheck
|
||||
command: yarn run typecheck
|
||||
- run:
|
||||
name: lint
|
||||
command: yarn run lint
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
build_and_deploy:
|
||||
jobs:
|
||||
- build
|
||||
- lint
|
Loading…
Reference in New Issue
Block a user