build: Upgraded to React 19 stable #28
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: publish Node.js Package | |
on: | |
push: | |
branches: | |
- master | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/[email protected] | |
- uses: actions/[email protected] | |
with: | |
node-version: 19 | |
- run: npm install | |
publish-gpr: | |
needs: build | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- uses: actions/setup-node@v1 | |
with: | |
node-version: 19 | |
registry-url: https://npm.pkg.github.com/ | |
scope: '@bhanu1776' | |
- run: npm install | |
- run: git config --global user.email "[email protected]" && git config --global user.name "$GITHUB_ACTOR" | |
- run: npm version --minor | |
- run: git push --tags && git push | |
- run: npm publish | |
env: | |
NODE_AUTH_TOKEN: ${{secrets.GITHUB_TOKEN}} |