Skip to content

Commit

Permalink
chore: add npmrc config and enable publish to public
Browse files Browse the repository at this point in the history
  • Loading branch information
mike-ainsel committed Oct 10, 2024
1 parent c9c1813 commit fc0aff3
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@ jobs:
app-name: Blast PL package
app-name-slug: 'blast'
notify-telegram: true
registry-url: https://registry.npmjs.org

node-version: '20.x'
is-electron-application: 'false'
Expand All @@ -36,13 +35,24 @@ jobs:
test: false
test-script-name: 'test'

publish-to-public: true
aws-login-enable: true
gcp-login-enable: true

npmrc-config: |
{
"registries": {
"https://registry.npmjs.org/": {
"scopes": ["platforma-open"],
"tokenVar": "NPMJS_TOKEN"
}
}
}
secrets:
env: |
{
"PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }}
"PL_REGISTRY_PLATFORMA_OPEN_UPLOAD_URL": ${{ toJSON(secrets.PL_REGISTRY_PLOPEN_UPLOAD_URL) }},
"NPMJS_TOKEN": ${{ toJSON(secrets.NPMJS_TOKEN) }}
}
AWS_ASSUME_ROLE: ${{ secrets.AWS_CI_IAM_MONOREPO_SIMPLE_ROLE }}
Expand Down

0 comments on commit fc0aff3

Please sign in to comment.