Attempt manual workflow trigger #2
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: Publish IPA Validation Framework Package | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - CLOUDP-329998_temp | |
| jobs: | |
| generate-changelog: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - run: npm install -g conventional-changelog-cli | |
| - name: Generate and Commit Changelog | |
| run: | | |
| npm run gen-ipa-changelog | |
| git config --local user.email "[email protected]" | |
| git config --local user.name "GitHub Action" | |
| git add tools/spectral/ipa/CHANGELOG.md | |
| git commit -m "chore(changelog): Update changelog" | |
| - name: Push Changelog | |
| uses: ad-m/github-push-action@master | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| branch: main | |
| publish: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v4 | |
| with: | |
| token: ${{ secrets.GITHUB_TOKEN }} | |
| - uses: actions/setup-node@v4 | |
| with: | |
| node-version: '20.x' | |
| cache: 'npm' | |
| - run: npm ci | |
| - run: npm test | |
| - uses: JS-DevTools/npm-publish@v3 | |
| with: | |
| token: ${{ secrets.IPA_VALIDATION_NPM_TOKEN }} | |
| package: "tools/spectral/ipa/package.json" |