Skip to content

Commit

Permalink
Fix test and workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
openint-bot committed Jan 9, 2025
1 parent 5b5bfc0 commit 1d29edc
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion .github/workflows/validate-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,15 @@ jobs:
- name: Run integration tests
run: cd examples && node test.cjs && node test.mjs

# - name: Setup upterm session
# uses: lhotari/action-upterm@v1

- name: Publish package
run: pnpm publish # Should use the NPM_TOKEN env variable automatically
# NPM_TOKEN is not picked up by npm automatically unfortunately so we need to set it up manually
# Wish there is a better api for this though.
run: |
echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/.npmrc
pnpm publish
# TODO: Add step to publish package here would be nice

Expand Down
2 changes: 1 addition & 1 deletion sdks/sdk-google/src/index.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const maybeTest = accessToken ? test : test.skip
const connectionId = process.env['OPENINT_GOOGLE_CONNECTION_ID']!
const apiKey = process.env['OPENINT_API_KEY_FOR_GOOGLE']!

maybeTest.only('get user info', async () => {
maybeTest('get user info', async () => {
const google = initGoogleSDK({auth: {bearer: accessToken}})
await google.drive_v2.GET('/about').then((r) => {
console.log(r.data)
Expand Down

0 comments on commit 1d29edc

Please sign in to comment.