diff --git a/.github/workflows/npm-github-publish.yml b/.github/workflows/npm-github-publish.yml index 0376a3d1..3381cdfc 100644 --- a/.github/workflows/npm-github-publish.yml +++ b/.github/workflows/npm-github-publish.yml @@ -17,10 +17,11 @@ jobs: - uses: actions/setup-node@v4 with: node-version: 20 - registry-url: 'https://npm.pkg.github.com' + registry-url: https://npm.pkg.github.com - run: npm i - run: npm run build - run: cd dist/releases/flex-layout + - run: npm config set registry https://npm.pkg.github.com - run: npm config set //npm.pkg.github.com/:_authToken=$NODE_AUTH_TOKEN - run: npm login --registry https://npm.pkg.github.com - run: npm publish --access public --no-git-checks --registry https://npm.pkg.github.com