Skip to content

Commit

Permalink
Merge pull request #88 from ncaq/delete-cd
Browse files Browse the repository at this point in the history
deleted: CircleCI: deploy
  • Loading branch information
ncaq authored Mar 8, 2022
2 parents 8086dac + 8fe2d31 commit 4a158b7
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 545 deletions.
56 changes: 1 addition & 55 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,63 +24,9 @@ jobs:
key: v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
deploy-firefox:
executor: nodejs
steps:
# lintと作業内容をディレクトリごとにスマートに共有する方法がよく分かってないので別個になっています。
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- v1-yarn-{{ checksum "package.json" }}-
- run: yarn install --frozen-lockfile
- run: yarn package
- run: yarn web-ext-submit --config web-ext-config.js
- save_cache:
name: Save Yarn Package Cache
key: v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
deploy-chrome:
executor: nodejs
steps:
- checkout
- restore_cache:
name: Restore Yarn Package Cache
keys:
- v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
- v1-yarn-{{ checksum "package.json" }}-
- run: yarn install --frozen-lockfile
- run: yarn package
- run: yarn chrome-webstore-upload publish --source web-ext-artifacts/google-search-title-qualified.zip --extension-id bjcnnhojddnonjmhlpdjcdcfmofliagb
- save_cache:
name: Save Yarn Package Cache
key: v1-yarn-{{ checksum "package.json" }}-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn

workflows:
version: 2
lint-deploy:
jobs:
- lint:
filters:
tags:
only: /^v.*/
- deploy-firefox:
requires:
- lint
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- deploy-chrome:
requires:
- lint
filters:
tags:
only: /^v.*/
branches:
ignore: /.*/
- lint
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
"@types/webextension-polyfill": "^0.8.0",
"@typescript-eslint/eslint-plugin": "^5.10.0",
"@typescript-eslint/parser": "^5.10.0",
"chrome-webstore-upload-cli": "^2.0.1",
"esbuild": "^0.14.11",
"eslint": "^8.7.0",
"eslint-config-airbnb-typescript": "^16.1.0",
Expand All @@ -35,8 +34,7 @@
"prettier": "^2.2.1",
"ts-node": "^10.2.1",
"typescript": "^4.2.4",
"web-ext": "^6.6.0",
"web-ext-submit": "^6.6.0"
"web-ext": "^6.6.0"
},
"dependencies": {
"async-sema": "^3.1.1",
Expand Down
Loading

0 comments on commit 4a158b7

Please sign in to comment.