Skip to content
This repository has been archived by the owner on Mar 8, 2023. It is now read-only.

Commit

Permalink
chore(release): bump to v1.21.0 (#941)
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffchew authored Feb 4, 2022
1 parent 6e7ccaa commit 937478a
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 2 deletions.
46 changes: 46 additions & 0 deletions .github/workflows/dependabot-yarn-mirror.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
name: dependabot-yarn-mirror

on:
push:
branches: [ dependabot/**/* ]
pull_request:
branches: [ dependabot/**/* ]

concurrency:
group: dependabot-yarn-mirror-${{ github.ref }}
cancel-in-progress: true

jobs:
yarn-mirror:
if: github.repository == 'carbon-design-system/carbon-web-components'
runs-on: ubuntu-latest
strategy:
matrix:
node-version: ['14.x']
steps:
- uses: actions/checkout@v2
with:
token: ${{ secrets.GH_TOKEN }}
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
- name: Get branch name
shell: bash
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
id: get_branch
- name: Install dependencies
run: yarn install
- name: Push changes
run: |
if [ -z "$(git status --porcelain)" ]; then
echo "Mirror is clean, exiting..."
else
git config --global user.email ${{ secrets.BOT_EMAIL }}
git config --global user.name ${{ secrets.BOT_NAME }}
git add -A
git commit -m "chore(yarn): update yarn offline mirror"
git push origin ${{ steps.get_branch.outputs.branch }}
fi
2 changes: 1 addition & 1 deletion .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ jobs:
- uses: actions/checkout@v2
with:
fetch-depth: 0
token: ${{ secrets.GITHUB_TOKEN }}
- name: Use Node.js 16.x
uses: actions/setup-node@v2
with:
Expand Down Expand Up @@ -46,5 +47,4 @@ jobs:
with:
bodyFile: "CHANGELOG.md"
tag: v${{ steps.publish.outputs.version }}
commit: main
token: ${{ secrets.GITHUB_TOKEN }}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "carbon-web-components",
"version": "1.20.0",
"version": "1.21.0",
"license": "Apache-2.0",
"repository": "https://github.com/carbon-design-system/carbon-web-components",
"bugs": "https://github.com/carbon-design-system/carbon-web-components/issues",
Expand Down

0 comments on commit 937478a

Please sign in to comment.