Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Configures Hootsuite CI/CD with GitHub Actions to run mocked unit tests on pull requests and live API integration tests on main.
41% 86%+45 ptsof test cases passed
Passed 19 of 22 test cases with the skill, and 9 of 22 without it.
When exchanging credentials in the integration test suite to get an active access token, what OAuth grant type parameter value must be sent in the POST request body?
Specifies grant_type as refresh_token
3 of 3 safety checks passed
Set up CI/CD for Hootsuite social media management integrations: run unit tests with mocked post scheduling and analytics responses on every PR, validate live API connectivity for social profile queries on merge to main. Hootsuite's API handles scheduled posts, social analytics, and multi-network publishing, so CI pipelines verify scheduling logic, content validation rules, and analytics data aggregation.
# .github/workflows/hootsuite-ci.yml
name: Hootsuite CI
on:
pull_request:
paths: ['src/hootsuite/**', 'tests/**']
push:
branches: [main]
jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci
- run: npm test -- --reporter=verbose
integration-tests:
if: github.ref == 'refs/heads/main'
needs: unit-tests
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with: { node-version: '20' }
- run: npm ci
- run: npm run test:integration
env:
HOOTSUITE_CLIENT_ID: ${{ secrets.HOOTSUITE_CLIENT_ID }}
HOOTSUITE_CLIENT_SECRET: ${{ secrets.HOOTSUITE_CLIENT_SECRET }}
Skills that do similar work, with their benchmark result.
Next to this one in the catalogue, plus more from the same author.