Skip to content

Commit

Permalink
Added action to puslish to github
Browse files Browse the repository at this point in the history
  • Loading branch information
alessiobianchini committed Jul 31, 2024
1 parent cd62b27 commit 4fed5f9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/npm-github-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4fed5f9

Please sign in to comment.