Bump version from 8.0.3 to 8.0.4 #4
Workflow file for this run
This file contains hidden or 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: Create Tag on Push | |
| on: | |
| push: | |
| tags: | |
| - '*' | |
| jobs: | |
| publish-npm: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| - name: Set up Node.js | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: '22.15' | |
| - name: Check installed versions | |
| run: | | |
| node -v | |
| - name: Install dependencies | |
| run: | | |
| npm install | |
| - name: Install webpack | |
| run: npm install --save-dev webpack webpack-cli | |
| - name: Build and Pack | |
| run: | | |
| npm run build:prod | |
| npm pack ./dist | |
| - name: Publish to NPM | |
| env: | |
| NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} | |
| run: | | |
| echo "//registry.npmjs.org/:_authToken=${NODE_AUTH_TOKEN}" > ~/.npmrc | |
| npm publish project-sunbird-client-services-* | |