---
description: Install private Capawesome Insiders npm packages in GitHub Actions workflows. Configure access tokens, npm registry, and CI/CD for Capacitor apps.
title: Integrate Capawesome Insiders with GitHub Actions - Capawesome
image: https://capawesome.io/docs/assets/images/social/insiders/integrations/github-actions.png
---

[ Skip to content](#github-actions) 

[ 🔐 Introducing the **Capacitor Vault** plugin — store secrets behind biometrics or a device passcode.](/blog/announcing-the-capacitor-vault-plugin/) 

* [  SDKs ](/docs/sdks/)
* [  Formbricks ](/docs/sdks/capacitor/formbricks/)
* [  Geocoder ](/docs/sdks/capacitor/geocoder/)
* [  Google Sign-In ](/docs/sdks/capacitor/google-sign-in/)
* [  Grafana Faro ](/docs/sdks/capacitor/grafana-faro/)
* [  libSQL ](/docs/sdks/capacitor/libsql/)
* [  Live Update ](/docs/sdks/capacitor/live-update/)
* [  Managed Configurations ](/docs/sdks/capacitor/managed-configurations/)
* [  Media Session ](/docs/sdks/capacitor/media-session/)
* [  ML Kit ](/docs/sdks/capacitor/mlkit/)
* [  Navigation Bar ](/docs/sdks/capacitor/navigation-bar/)
* [  NFC ](/docs/sdks/capacitor/nfc/)
* [  OAuth ](/docs/sdks/capacitor/oauth/)
* [  Pedometer ](/docs/sdks/capacitor/pedometer/)
* [  Photo Editor ](/docs/sdks/capacitor/photo-editor/)
* [  PostHog ](/docs/sdks/capacitor/posthog/)
* [  Printer ](/docs/sdks/capacitor/printer/)
* [  Purchases ](/docs/sdks/capacitor/purchases/)
* [  RealtimeKit ](/docs/sdks/capacitor/realtimekit/)
* [  Screen Orientation ](/docs/sdks/capacitor/screen-orientation/)
* [  Screenshot ](/docs/sdks/capacitor/screenshot/)
* [  Secure Preferences ](/docs/sdks/capacitor/secure-preferences/)
* [  Speech Recognition ](/docs/sdks/capacitor/speech-recognition/)
* [  Speech Synthesis ](/docs/sdks/capacitor/speech-synthesis/)
* [  Share Target ](/docs/sdks/capacitor/share-target/)
* [  Square Mobile Payments ](/docs/sdks/capacitor/square-mobile-payments/)
* [  SQLite ](/docs/sdks/capacitor/sqlite/)
* [  Superwall ](/docs/sdks/capacitor/superwall/)
* [  Torch ](/docs/sdks/capacitor/torch/)
* [  Vault ](/docs/sdks/capacitor/vault/)
* [  Wifi ](/docs/sdks/capacitor/wifi/)
* [  Zip ](/docs/sdks/capacitor/zip/)
* [  Cordova ](/docs/sdks/cordova/)
* [  Cloud ](/docs/cloud/)
* [  Integrations ](/docs/cloud/live-updates/integrations/)
* Concepts
* Reference
* [  Troubleshooting ](/docs/cloud/live-updates/troubleshooting/)
* [  FAQ ](/docs/cloud/live-updates/faq/)
* [  Native Builds ](/docs/cloud/native-builds/)
* [  Set Up Environments ](/docs/cloud/native-builds/environments/)
* [  Overwrite Native Configurations ](/docs/cloud/native-builds/native-configurations/)
* [  Auto-Increment Build Numbers ](/docs/cloud/native-builds/auto-incrementing-build-numbers/)
* [  Configure the Web Build Script ](/docs/cloud/native-builds/web-build-script/)
* [  Build from a Monorepo ](/docs/cloud/native-builds/monorepo/)
* [  Use pnpm, Yarn, or bun ](/docs/cloud/native-builds/package-managers/)
* [  Install Private npm Packages ](/docs/cloud/native-builds/npm-private-registry/)
* [  Override the Java Version ](/docs/cloud/native-builds/override-java-version/)
* [  Custom iOS Provisioning Profiles ](/docs/cloud/native-builds/custom-ios-provisioning-profiles/)
* [  Build without Git ](/docs/cloud/native-builds/build-without-git/)
* [  Access Git Behind a Firewall ](/docs/cloud/native-builds/firewall-access/)
* [  Integrations ](/docs/cloud/native-builds/integrations/)
* Reference
* [  Troubleshooting ](/docs/cloud/native-builds/troubleshooting/)
* [  FAQ ](/docs/cloud/native-builds/faq/)
* [  App Store Publishing ](/docs/cloud/app-store-publishing/)
* [  Submit a Build ](/docs/cloud/app-store-publishing/submit-a-build/)
* [  Submit Automatically After a Build ](/docs/cloud/app-store-publishing/submit-automatically/)
* [  Troubleshooting ](/docs/cloud/app-store-publishing/troubleshooting/)
* [  FAQ ](/docs/cloud/app-store-publishing/faq/)
* [  Automations ](/docs/cloud/automations/)
* [  Reference ](/docs/cloud/automations/reference/)
* [  Troubleshooting ](/docs/cloud/automations/troubleshooting/)
* [  FAQ ](/docs/cloud/automations/faq/)
* [  Assist ](/docs/cloud/assist/)
* [  CLI ](/docs/cloud/cli/)
* APIs and SDKs
* [  Webhooks ](/docs/cloud/webhooks/)
* [  Integrations ](/docs/cloud/integrations/)
* Account
* [  Organization ](/docs/cloud/organizations/)
* [  Two-Factor Enforcement ](/docs/cloud/organizations/two-factor-authentication/)
* [  Audit Logs ](/docs/cloud/organizations/audit-logs/)
* [  Billing ](/docs/cloud/organizations/billing/)
* [  License Keys ](/docs/cloud/license-keys/)
* [  AI ](/docs/ai/)
* [  Insiders ](/docs/insiders/)
* [  Workflow Configuration ](#workflow-configuration)
* [  GitLab CI/CD ](/docs/insiders/integrations/gitlab-ci/)
* [  Ionic Appflow ](/docs/insiders/integrations/ionic-appflow/)
* [  Jenkins ](/docs/insiders/integrations/jenkins/)
* [  Vercel ](/docs/insiders/integrations/vercel/)
* [  Billing & Plans ](/docs/insiders/billing-and-plans/)
* [  FAQ ](/docs/insiders/faq/)
* [  License ](https://capawesome.io/legal/eula/)
* [  Support ](/docs/support/)
* [  Contributing ](/docs/contributing/)
* Contributing code
* [  Code of Conduct ](/docs/contributing/code-of-conduct/)
* [  Questions ](https://docs.github.com/en/discussions/collaborating-with-your-community-using-discussions/participating-in-a-discussion#creating-a-discussion)
* [  Blog ](/blog/)
* Categories

* [  Workflow Configuration ](#workflow-configuration)

# GitHub Actions[¶](#github-actions "Permanent link")

You can use private Capawesome npm packages within your [GitHub Actions](https://github.com/features/actions) workflows by configuring the Capawesome npm registry. This guide shows you how to set up authentication to access the private packages from the Capawesome Insiders program.

## Preparation[¶](#preparation "Permanent link")

### Create a GitHub Secret[¶](#create-a-github-secret "Permanent link")

[Get your license key](/docs/insiders/faq/#where-can-i-find-my-license-key) and add it to your GitHub repository as an encrypted secret with the name `CAPAWESOME_NPM_REGISTRY_TOKEN` as described in [Creating encrypted secrets for a repository](https://docs.github.com/en/actions/security-for-github-actions/security-guides/using-secrets-in-github-actions#creating-encrypted-secrets-for-a-repository).

Keep your license key secure 

Never commit your license key directly to your repository and always use environment variables to store sensitive information like authentication tokens.

## Workflow Configuration[¶](#workflow-configuration "Permanent link")

### Configure the npm registry[¶](#configure-the-npm-registry "Permanent link")

Add the following step to your GitHub Actions workflow **before** installing npm dependencies:

`[](#%5F%5Fcodelineno-0-1)- name: Configure the Capawesome npm registry
[](#%5F%5Fcodelineno-0-2)  run: |
[](#%5F%5Fcodelineno-0-3)    echo "@capawesome-team:registry=https://npm.registry.capawesome.io" >> .npmrc
[](#%5F%5Fcodelineno-0-4)    echo "//npm.registry.capawesome.io/:_authToken=${{ secrets.CAPAWESOME_NPM_REGISTRY_TOKEN }}" >> .npmrc
`

This will automatically configure npm to use the Capawesome registry for `@capawesome-team` packages during GitHub Actions builds.

### Example[¶](#example "Permanent link")

Here's a complete example of a GitHub Actions workflow that builds an Ionic app using private Capawesome packages:

`[](#%5F%5Fcodelineno-1-1)name: Build App
[](#%5F%5Fcodelineno-1-2)
[](#%5F%5Fcodelineno-1-3)on:
[](#%5F%5Fcodelineno-1-4)  push:
[](#%5F%5Fcodelineno-1-5)    branches: 
[](#%5F%5Fcodelineno-1-6)      - main
[](#%5F%5Fcodelineno-1-7)  pull_request:
[](#%5F%5Fcodelineno-1-8)    branches: 
[](#%5F%5Fcodelineno-1-9)      - main
[](#%5F%5Fcodelineno-1-10)
[](#%5F%5Fcodelineno-1-11)jobs:
[](#%5F%5Fcodelineno-1-12)  build:
[](#%5F%5Fcodelineno-1-13)    runs-on: ubuntu-latest
[](#%5F%5Fcodelineno-1-14)    steps:
[](#%5F%5Fcodelineno-1-15)      - name: Checkout
[](#%5F%5Fcodelineno-1-16)        uses: actions/checkout@v4
[](#%5F%5Fcodelineno-1-17)      - name: Set up Node.js 20
[](#%5F%5Fcodelineno-1-18)        uses: actions/setup-node@v4
[](#%5F%5Fcodelineno-1-19)        with:
[](#%5F%5Fcodelineno-1-20)          node-version: 20
[](#%5F%5Fcodelineno-1-21)      - name: Configure the Capawesome npm registry
[](#%5F%5Fcodelineno-1-22)        run: |
[](#%5F%5Fcodelineno-1-23)          echo "@capawesome-team:registry=https://npm.registry.capawesome.io" >> .npmrc
[](#%5F%5Fcodelineno-1-24)          echo "//npm.registry.capawesome.io/:_authToken=${{ secrets.CAPAWESOME_NPM_REGISTRY_TOKEN }}" >> .npmrc
[](#%5F%5Fcodelineno-1-25)      - name: Install Dependencies
[](#%5F%5Fcodelineno-1-26)        run: npm ci
[](#%5F%5Fcodelineno-1-27)      - name: Sync Capacitor
[](#%5F%5Fcodelineno-1-28)        run: npx cap sync
[](#%5F%5Fcodelineno-1-29)      - name: Build web assets
[](#%5F%5Fcodelineno-1-30)        run: npm run build
`

This workflow will authenticate with the Capawesome npm registry and install any private packages specified in your `package.json` file.

May 7, 2026 

 Back to top 