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

Commit 937478a

Browse files
authored
chore(release): bump to v1.21.0 (#941)
1 parent 6e7ccaa commit 937478a

File tree

3 files changed

+48
-2
lines changed

3 files changed

+48
-2
lines changed
Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
name: dependabot-yarn-mirror
2+
3+
on:
4+
push:
5+
branches: [ dependabot/**/* ]
6+
pull_request:
7+
branches: [ dependabot/**/* ]
8+
9+
concurrency:
10+
group: dependabot-yarn-mirror-${{ github.ref }}
11+
cancel-in-progress: true
12+
13+
jobs:
14+
yarn-mirror:
15+
if: github.repository == 'carbon-design-system/carbon-web-components'
16+
runs-on: ubuntu-latest
17+
strategy:
18+
matrix:
19+
node-version: ['14.x']
20+
steps:
21+
- uses: actions/checkout@v2
22+
with:
23+
token: ${{ secrets.GH_TOKEN }}
24+
- name: Use Node.js
25+
uses: actions/setup-node@v2
26+
with:
27+
node-version: ${{ matrix.node-version }}
28+
cache: 'yarn'
29+
- name: Get branch name
30+
shell: bash
31+
run: echo "##[set-output name=branch;]$(echo ${GITHUB_REF#refs/heads/})"
32+
id: get_branch
33+
- name: Install dependencies
34+
run: yarn install
35+
- name: Push changes
36+
run: |
37+
if [ -z "$(git status --porcelain)" ]; then
38+
echo "Mirror is clean, exiting..."
39+
else
40+
git config --global user.email ${{ secrets.BOT_EMAIL }}
41+
git config --global user.name ${{ secrets.BOT_NAME }}
42+
43+
git add -A
44+
git commit -m "chore(yarn): update yarn offline mirror"
45+
git push origin ${{ steps.get_branch.outputs.branch }}
46+
fi

.github/workflows/publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ jobs:
1414
- uses: actions/checkout@v2
1515
with:
1616
fetch-depth: 0
17+
token: ${{ secrets.GITHUB_TOKEN }}
1718
- name: Use Node.js 16.x
1819
uses: actions/setup-node@v2
1920
with:
@@ -46,5 +47,4 @@ jobs:
4647
with:
4748
bodyFile: "CHANGELOG.md"
4849
tag: v${{ steps.publish.outputs.version }}
49-
commit: main
5050
token: ${{ secrets.GITHUB_TOKEN }}

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "carbon-web-components",
3-
"version": "1.20.0",
3+
"version": "1.21.0",
44
"license": "Apache-2.0",
55
"repository": "https://github.com/carbon-design-system/carbon-web-components",
66
"bugs": "https://github.com/carbon-design-system/carbon-web-components/issues",

0 commit comments

Comments
 (0)