chore: bump rollup from 4.22.4 to 4.59.0 (#2258) #732
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 | |
| on: | |
| push: | |
| branches: | |
| - develop | |
| - master | |
| permissions: | |
| id-token: write # Required for OIDC | |
| contents: read | |
| jobs: | |
| tests: | |
| uses: ./.github/workflows/tests.yml | |
| publish: | |
| if: github.ref == 'refs/heads/master' | |
| needs: [tests] | |
| runs-on: ubuntu-latest | |
| environment: registry.npmjs.org | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: 'master' | |
| - uses: ./.github/actions/dependencies | |
| with: | |
| root: false | |
| packages-react: true | |
| packages-styles: true | |
| - name: Build packages | |
| run: | | |
| NODE_ENV=production yarn --cwd packages/react build | |
| NODE_ENV=production yarn --cwd packages/styles build | |
| - name: Publish @deque/cauldron-styles | |
| run: | | |
| cd packages/styles | |
| npm publish | |
| - name: Publish @deque/cauldron-react | |
| run: | | |
| cd packages/react | |
| npm publish | |
| canary: | |
| if: github.ref == 'refs/heads/develop' | |
| needs: [tests] | |
| runs-on: ubuntu-latest | |
| environment: registry.npmjs.org | |
| steps: | |
| - uses: actions/checkout@v6 | |
| with: | |
| ref: 'develop' | |
| - uses: ./.github/actions/dependencies | |
| with: | |
| root: false | |
| packages-react: true | |
| packages-styles: true | |
| - name: Build packages | |
| run: | | |
| NODE_ENV=production yarn --cwd packages/react build | |
| NODE_ENV=production yarn --cwd packages/styles build | |
| - name: Publish @deque/cauldron-styles | |
| run: | | |
| cd packages/styles | |
| PACKAGE_VERSION="$(npm pkg get version | tr -d \")" | |
| npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version | |
| npm publish --tag=next | |
| - name: Publish @deque/cauldron-react | |
| run: | | |
| cd packages/react | |
| PACKAGE_VERSION="$(npm pkg get version | tr -d \")" | |
| npm version "$PACKAGE_VERSION-canary.${GITHUB_SHA:0:8}" --allow-same-version --no-git-tag-version | |
| npm publish --tag=next |