Skip to content

Commit 8683a9e

Browse files
authored
Merge pull request #294 from intercom/fix/building-issue
Fix dist throwing error
2 parents 8e4f74a + bf9453a commit 8683a9e

File tree

3 files changed

+3
-18
lines changed

3 files changed

+3
-18
lines changed

.circleci/config.yml

Lines changed: 1 addition & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -6,21 +6,10 @@ jobs:
66

77
working_directory: ~/intercom-node
88

9-
environment:
10-
- YARN_VERSION: 1.22.10
11-
129
steps:
1310
- checkout
1411
- run: export PATH="${PATH}:/home/circleci/.yarn/bin"
15-
- run:
16-
name: Install Yarn
17-
command: |
18-
if [[ ! -e ~/.yarn/bin/yarn || $(yarn --version) != "${YARN_VERSION}" ]]; then
19-
echo "Download and install Yarn."
20-
curl -o- -L https://yarnpkg.com/install.sh | bash -s -- --version $YARN_VERSION
21-
else
22-
echo "The correct version of Yarn is already installed."
23-
fi
12+
- run: npm install --prefix=$HOME/.local --global corepack
2413
- run: yarn
2514
- run: yarn test
2615

.github/PULL_REQUEST_TEMPLATE.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,3 @@ Why are you making this change?
55
#### How?
66

77
Technical details on your change
8-
9-
#### QA
10-
11-
Latest QA could be found on [branch `qa/should-never-be-merged-to-master`](https://github.com/intercom/intercom-node-v2/pull/10)

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "intercom-client",
3-
"version": "3.0.0",
3+
"version": "3.0.1",
44
"description": "Official Node bindings to the Intercom API",
55
"homepage": "https://github.com/intercom/intercom-node",
66
"bugs:": "https://github.com/intercom/intercom-node/issues",
@@ -43,7 +43,7 @@
4343
"typescript": "^4.5.3"
4444
},
4545
"scripts": {
46-
"clean": "rm -r dist",
46+
"clean": "rm -r -f dist",
4747
"static": "eslint .",
4848
"compile_ts": "tsc",
4949
"move_compiled_to_dist": "mv dist/lib/* dist && rmdir dist/lib",

0 commit comments

Comments
 (0)