Skip to content

Commit

Permalink
fix: Path overwriting tenant name
Browse files Browse the repository at this point in the history
  • Loading branch information
turcottedanny authored Jun 3, 2021
2 parents fa8bff2 + 3b3f6e9 commit 6901574
Show file tree
Hide file tree
Showing 7 changed files with 6,271 additions and 4,518 deletions.
69 changes: 54 additions & 15 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,30 +3,69 @@
# Check https://circleci.com/docs/2.0/language-javascript/ for more details
#
version: 2
jobs:
build:
docker:
# specify the version you desire here
- image: circleci/node:6.11

working_directory: ~/repo
defaults: &defaults
working_directory: ~/repo
docker:
- image: circleci/node:carbon

jobs:
test:
<<: *defaults

steps:
- checkout

# Download and cache dependencies
- restore_cache:
keys:
- yarn-dependencies-{{ checksum "yarn.lock" }}
# fallback to using the latest cache if no exact match is found
- yarn-dependencies-
- v1-dependencies-{{ checksum "package-lock.json" }}
# fallback to using the latest cache if no exact match is found
- v1-dependencies-

- run: yarn install --ignore-engines
- run: yarn test --ignore-engines
- run: npm install

- save_cache:
name: Save yarn packages to cache
key: yarn-dependencies-{{ checksum "yarn.lock" }}
paths:
- ~/.cache/yarn
- ./node_modules
- node_modules
key: v1-dependencies-{{ checksum "package-lock.json" }}

# run tests!
- run: npm run test
- persist_to_workspace:
root: ~/repo
paths: .

deploy:
<<: *defaults
steps:
- attach_workspace:
at: ~/repo
- run:
name: Authenticate with registry
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package
command: npm publish
workflows:
version: 2
test:
jobs:
- test
test_and_deploy:
jobs:
- test:
# only runs when commit with tag in /^v.*/ pattern
filters:
tags:
only: /^v.*/
branches:
only: master
- deploy:
requires:
- test
filters:
branches:
ignore: /.*/
tags:
only: /^v.*/
18 changes: 18 additions & 0 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "pwa-node",
"request": "launch",
"name": "Tape Current File",
"args": [
"${file}"
],
"console": "internalConsole",
"program": "${workspaceFolder}/node_modules/tape/bin/tape"
}
]
}
Loading

0 comments on commit 6901574

Please sign in to comment.