LexSwed / npm-package-sync

Sync packages published to one registry with another one

Repository from Github https://github.comLexSwed/npm-package-syncRepository from Github https://github.comLexSwed/npm-package-sync

GitHub action sync

Synchronizes published GitHub package with npm.

Usage

You need to checkout this repository from within your GitHub job and use it as a local one. Example:

name: Sync packages
on:
  release:
    types: [published]
jobs:
  sync_packages:
    runs-on: ubuntu-latest
    steps:
      - name: Sync packages
        uses: LexSwed/npm-package-sync
        with:
          registry-to: 'https://npm.pkg.github.com'
          token-to: ${{ secrets.GITHUB_TOKEN }}

About

Sync packages published to one registry with another one


Languages

Language:TypeScript 97.3%Language:JavaScript 2.7%