Skip to content

Commit

Permalink
fix tests (#9)
Browse files Browse the repository at this point in the history
  • Loading branch information
regevbr authored and montedonioluiz committed Jan 8, 2024
1 parent e2fde50 commit 8cdb87b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ jobs:
node-version: 18
- name: Deploy
run: |
yarn install --ignore-engines
yarn install
npm config set '//registry.npmjs.org/:_authToken' "${NPM_TOKEN}"
npm publish
env:
Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- run: yarn install --ignore-engines
- run: npm run flow
- run: yarn install
- run: yarn flow
env:
CI: true
- run: yarn build
env:
CI: true
- run: yarn test
env:
CI: true
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,7 @@
"prepublish": "gulp dist",
"start": "semistandard --fix",
"flow": "flow",
"build": "gulp dist",
"test": "jest"
},
"main": "./dist/cjs.js",
Expand Down
2 changes: 1 addition & 1 deletion src/objects/serverside/server-event.js
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ export default class ServerEvent {

/**
* Sets the advanced_measurement_table for the current event.
* @param {string} advanced_measurement_table Name of Advanced Measurement table. Only used for the Advanced Measurement API in the Advanced Analytics product.
* @param {number} data_processing_options_state Name of Advanced Measurement table. Only used for the Advanced Measurement API in the Advanced Analytics product.
*/
set advanced_measurement_table(advanced_measurement_table: string) {
this._advanced_measurement_table = advanced_measurement_table;
Expand Down
15 changes: 4 additions & 11 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -5010,12 +5010,10 @@ isexe@^2.0.0:
resolved "https://registry.yarnpkg.com/isexe/-/isexe-2.0.0.tgz#e8fbf374dc556ff8947a10dcb0572d633f2cfa10"
integrity sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==

[email protected]:
version "1.0.0"
resolved "https://registry.yarnpkg.com/iso-3166-1-alpha-2/-/iso-3166-1-alpha-2-1.0.0.tgz#bc9e0bb94e584df5468a932997a28552e26f97ac"
integrity sha512-ffnjHqGTL67bPVuOf7NNl7NhPABR1Dfoue+tXMCSzyBbfmwo2Y2Xve9nL3zZZ8YXhV9H7yL1u+HDeuJd8aft0Q==
dependencies:
mout "^0.11.0"
iso-3166-1@^2.1.1:
version "2.1.1"
resolved "https://registry.yarnpkg.com/iso-3166-1/-/iso-3166-1-2.1.1.tgz#79b80d2aebc3c9528d792bdbb8316c912fe37c68"
integrity sha512-RZxXf8cw5Y8LyHZIwIRvKw8sWTIHh2/txBT+ehO0QroesVfnz3JNFFX4i/OC/Yuv2bDIVYrHna5PMvjtpefq5w==

isobject@^2.0.0:
version "2.1.0"
Expand Down Expand Up @@ -6181,11 +6179,6 @@ mkdirp@^0.5.0, mkdirp@^0.5.1:
dependencies:
minimist "^1.2.6"

mout@^0.11.0:
version "0.11.1"
resolved "https://registry.yarnpkg.com/mout/-/mout-0.11.1.tgz#ba3611df5f0e5b1ffbfd01166b8f02d1f5fa2b99"
integrity sha512-pK9VNiLE3QgGBrC/3ICAscwOLU7oTNeK2l32uqNAioBYtB2tQAfSsGDNChUlk7CP23126mc5lUt6+na9FlN8JA==

[email protected]:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ms/-/ms-2.0.0.tgz#5608aeadfc00be6c2901df5f9861788de0d597c8"
Expand Down

0 comments on commit 8cdb87b

Please sign in to comment.