Skip to content

Commit

Permalink
chore: update deploy-packages.yml to add gatsby-theme-carbon repo (#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
alisonjoseph committed Jul 31, 2023
1 parent a679dae commit 37e2732
Showing 1 changed file with 45 additions and 0 deletions.
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

0 comments on commit 37e2732

Please sign in to comment.