Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: update deploy-packages.yml to add gatsby-theme-carbon repo #14352

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
45 changes: 45 additions & 0 deletions .github/workflows/deploy-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -97,3 +97,48 @@ jobs:
- [ ] Verify package version bumps are accurate
- [ ] Verify CI passes as expected
- [ ] Verify no regressions on the website in the deploy preview
gatsby-theme-carbon:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
repository: carbon-design-system/gatsby-theme-carbon
ref: main
- name: Use Node.js 18.x
uses: actions/setup-node@v3
with:
node-version: '18.x'
registry-url: 'https://registry.npmjs.org'
- name: Update dependencies
run: |
yarn upgrade \
@carbon/elements@next \
@carbon/grid@next \
@carbon/themes@next \
@carbon/pictograms-react@next \
@carbon/icons-react@next \
@carbon/react@next
- name: Generate token
uses: tibdex/github-app-token@v1
id: generate_token
with:
app_id: ${{ secrets.APP_ID }}
private_key: ${{ secrets.APP_PRIVATE_KEY }}
- name: Create Pull Request
uses: peter-evans/create-pull-request@v5
with:
branch: 'release/update-carbon-deps'
commit-message: 'chore(release): update carbon deps'
delete-branch: true
title: 'chore(release): update carbon deps'
token: ${{ steps.generate_token.outputs.token }}
body: |
Automated pull request to update Carbon on the website

**Checklist**

- [ ] Verify package version bumps are accurate
- [ ] Verify CI passes as expected
- [ ] Verify no regressions on the website in the deploy preview

Loading