Skip to content

Commit

Permalink
Feature/use central pipeline (#135)
Browse files Browse the repository at this point in the history
* Adjusted npm publish forkflow

* Secret added

* Added GPR publish
  • Loading branch information
dborowiecki authored Apr 30, 2024
1 parent 444d6aa commit 0c9e70d
Showing 1 changed file with 12 additions and 3 deletions.
15 changes: 12 additions & 3 deletions .github/workflows/npmpublish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ on:
node_version:
description: 'Node version to use'
required: true
default: '16'
default: '20'
registry_url:
description: 'NPM registry URL'
required: true
Expand All @@ -26,12 +26,21 @@ on:
default: 'public'

jobs:
call-central-workflow:
call-npm-publish-workflow:
uses: openimis/openimis-fe_js/.github/workflows/module-npmpublish.yml@feature/central-publish-workflow
with:
node_version: '16'
node_version: '20'
registry_url: 'https://registry.npmjs.org/'
access: 'public'
scope: 'openimis'
secrets:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
call-gpr-publish-workflow:
uses: openimis/openimis-fe_js/.github/workflows/module-npmpublish.yml@feature/central-publish-workflow
with:
node_version: '20'
registry_url: 'https://npm.pkg.github.com/'
access: 'public'
scope: 'openimis'
secrets:
NPM_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 0c9e70d

Please sign in to comment.