diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 02ce231633..42898cd108 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -376,7 +376,7 @@ jobs: - name: Login to NPM run: | echo @hcengineering/anticrm:https://npm.pkg.github.com/ > ~/.npmrc - echo '//npm.pkg.github.com/:_authToken=${NPM_TOKEN}' >> ~/.npmrc + echo '//npm.pkg.github.com/:_authToken=${{ secrets.NPM_TOKEN }}' >> ~/.npmrc - name: NPM bump run: node common/scripts/bump.js diff --git a/common/scripts/bump.js b/common/scripts/bump.js index a34abb2f11..888e9c0829 100755 --- a/common/scripts/bump.js +++ b/common/scripts/bump.js @@ -102,7 +102,7 @@ function publish (name) { function main () { const args = process.argv - const config = JSON.parse(execSync('rush list -p --json', { encoding: 'utf-8' })) + const config = JSON.parse(execSync('node common/scripts/install-run-rush.js list -p --json', { encoding: 'utf-8' })) fillPackages(config) buildDependencyTree()