Release @forumone/eslint-config-es5 on GitHub #1
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: Release @forumone/eslint-config-es5 on GitHub | |
| on: | |
| release: | |
| types: [published] # Triggers when you create a GitHub release | |
| jobs: | |
| publish-registry: | |
| # Only run for releases tagged for this package, e.g. eslint-config-es5-v4.0.1 | |
| if: startsWith(github.event.release.tag_name, 'eslint-config-es5-v') | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: ./packages/eslint-config-forumone-es5 | |
| permissions: | |
| packages: write | |
| contents: read | |
| steps: | |
| - name: Checkout Code | |
| uses: actions/checkout@v5 | |
| - name: Setup Node for GitHub Packages | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version: 24 | |
| registry-url: 'https://npm.pkg.github.com' | |
| scope: '@forumone' | |
| - name: Install Dependencies | |
| run: npm ci | |
| # - name: Publish to GitHub Packages | |
| # run: npm publish | |
| # env: | |
| # NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |