feat(simple-icons): Bump package simple-icons #220
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
| # This workflow will run tests using node and then publish a package to GitHub Packages when a release is created | |
| # For more information see: https://help.github.com/actions/language-and-framework-guides/publishing-nodejs-packages | |
| name: Release ReactSimpleIcons | |
| on: | |
| push: | |
| branches: | |
| - main | |
| release: | |
| types: [created] | |
| jobs: | |
| publish-npm: | |
| name: Release | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: write # to create release (changesets/action) | |
| issues: write # to post issue comments (changesets/action) | |
| pull-requests: write # to create pull request (changesets/action) | |
| id-token: write # to use OpenID Connect token for provenance (changesets/action) | |
| steps: | |
| - uses: actions/checkout@v4 | |
| - name: Setup Node.js environment | |
| uses: actions/setup-node@v4 | |
| with: | |
| node-version-file: package.json | |
| - name: Install Dependencies 📦 | |
| uses: ./.github/actions/install | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| - name: 🔥 generate:icons | |
| run: pnpm generate:icons | |
| - name: 💣 build | |
| run: pnpm build | |
| - name: Create Release Pull Request or Publish to npm 📦 | |
| uses: changesets/action@v1 | |
| with: | |
| publish: pnpm release | |
| commit: 'ci(release): version @icons-pack/react-simple-icons' | |
| title: 'ci(release): version @icons-pack/react-simple-icons' | |
| env: | |
| GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
| NPM_CONFIG_PROVENANCE: true |