Skip to content

Commit cc48854

Browse files
authored
fix: Correct issue with semantic-release and yarn-lock
bigcalendar#2096
1 parent ce8d137 commit cc48854

4 files changed

Lines changed: 1862 additions & 133 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,17 +14,13 @@ jobs:
1414
uses: actions/checkout@v2
1515

1616
- name: Setup Node.js
17-
uses: actions/setup-node@v1
17+
uses: actions/setup-node@v2
1818
with:
19-
node-version: '16.x'
19+
node-version: '16.13.2'
2020

2121
- name: Install Dependencies
2222
run: yarn install
2323

24-
# semantic release comes pre-installed in GitHub actions by default
25-
# so only load plugins
26-
- name: Install semantic-release extra plugins
27-
run: yarn add @semantic-release/changelog @semantic-release/git
2824
# test and build prior to release
2925
- name: Unit Test & Linting
3026
run: yarn test

.github/workflows/test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,12 +9,12 @@ jobs:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Checkout
12-
uses: actions/checkout@v1
12+
uses: actions/checkout@v2
1313

1414
- name: Setup Node.js
15-
uses: actions/setup-node@v1
15+
uses: actions/setup-node@v2
1616
with:
17-
node-version: '12.x'
17+
node-version: '16.13.2'
1818

1919
- name: Install Dependencies
2020
run: yarn install

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,8 @@
8383
"@babel/core": "^7.1.5",
8484
"@commitlint/cli": "^12.1.4",
8585
"@commitlint/config-conventional": "^12.1.4",
86+
"@semantic-release/changelog": "^6.0.1",
87+
"@semantic-release/git": "^10.0.1",
8688
"@storybook/addon-actions": "^6.1.15",
8789
"@storybook/react": "^6.1.15",
8890
"autoprefixer": "^10.4.0",
@@ -131,6 +133,7 @@
131133
"rollup-plugin-size-snapshot": "^0.8.0",
132134
"rollup-plugin-terser": "^4.0.2",
133135
"sass": "1.44.0",
136+
"semantic-release": "^18.0.1",
134137
"webpack": "^4.25.1",
135138
"webpack-atoms": "^8.0.0",
136139
"webpack-cli": "^3.1.2",

0 commit comments

Comments
 (0)