Skip to content

Commit

Permalink
fix: Correct issue with semantic-release and yarn-lock
Browse files Browse the repository at this point in the history
  • Loading branch information
cutterbl authored Jan 16, 2022
1 parent ce8d137 commit cc48854
Show file tree
Hide file tree
Showing 4 changed files with 1,862 additions and 133 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,13 @@ jobs:
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '16.x'
node-version: '16.13.2'

- name: Install Dependencies
run: yarn install

# semantic release comes pre-installed in GitHub actions by default
# so only load plugins
- name: Install semantic-release extra plugins
run: yarn add @semantic-release/changelog @semantic-release/git
# test and build prior to release
- name: Unit Test & Linting
run: yarn test
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v1
uses: actions/checkout@v2

- name: Setup Node.js
uses: actions/setup-node@v1
uses: actions/setup-node@v2
with:
node-version: '12.x'
node-version: '16.13.2'

- name: Install Dependencies
run: yarn install
Expand Down
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,8 @@
"@babel/core": "^7.1.5",
"@commitlint/cli": "^12.1.4",
"@commitlint/config-conventional": "^12.1.4",
"@semantic-release/changelog": "^6.0.1",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-actions": "^6.1.15",
"@storybook/react": "^6.1.15",
"autoprefixer": "^10.4.0",
Expand Down Expand Up @@ -131,6 +133,7 @@
"rollup-plugin-size-snapshot": "^0.8.0",
"rollup-plugin-terser": "^4.0.2",
"sass": "1.44.0",
"semantic-release": "^18.0.1",
"webpack": "^4.25.1",
"webpack-atoms": "^8.0.0",
"webpack-cli": "^3.1.2",
Expand Down
Loading

0 comments on commit cc48854

Please sign in to comment.