Skip to content

Commit

Permalink
fix: test deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
sumwatshade committed May 17, 2021
1 parent e7d87eb commit 4c01af7
Show file tree
Hide file tree
Showing 3 changed files with 2,807 additions and 34 deletions.
12 changes: 5 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ version: 2
jobs:
# This plugin requires a custom image to test releases.
# Currently it's using Node v10.
node-10: &test
node-12: &test
docker:
- image: rasphilco/release:10.17.0
- image: circleci/node:erbium
working_directory: ~/cli
steps:
- checkout
Expand All @@ -20,11 +20,9 @@ jobs:
- add_ssh_keys
- checkout
- restore_cache: *restore_cache
- run: yarn global add @oclif/semantic-release@3 semantic-release@15
- run: yarn --frozen-lockfile
- run: |
export PATH=/usr/local/share/.config/yarn/global/node_modules/.bin:$PATH
semantic-release -e @oclif/semantic-release
yarn semantic-release -e @oclif/semantic-release
- save_cache:
key: v3-yarn-{{checksum ".circleci/config.yml"}}-{{checksum "yarn.lock"}}
paths:
Expand All @@ -36,10 +34,10 @@ workflows:
version: 2
"@oclif/plugin-update":
jobs:
- node-10
- node-12
- release:
context: org-global
filters:
branches: {only: master}
requires:
- node-10
- node-12
2 changes: 2 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"devDependencies": {
"@oclif/dev-cli": "^1.26.0",
"@oclif/plugin-help": "^3",
"@oclif/semantic-release": "^3.1.5",
"@oclif/test": "^1.2.8",
"@types/chai": "^4.2.15",
"@types/cross-spawn": "^6.0.2",
Expand All @@ -41,6 +42,7 @@
"globby": "^11.0.2",
"mocha": "^8.3.0",
"qqjs": "^0.3.11",
"semantic-release": "^17.4.3",
"ts-node": "^9.1.1",
"tslib": "^2.1.0",
"typescript": "3.8.3"
Expand Down
Loading

0 comments on commit 4c01af7

Please sign in to comment.