Skip to content

Commit

Permalink
ci: update semantic-release-action to v4 and Node to v20
Browse files Browse the repository at this point in the history
  • Loading branch information
carlos-algms committed Nov 29, 2023
1 parent d40c7e6 commit 0b4be14
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 12 deletions.
2 changes: 1 addition & 1 deletion .github/actions/setup_workspace/action.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ runs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 20
cache: 'pnpm'

- run: pnpm install
Expand Down
15 changes: 6 additions & 9 deletions .github/workflows/npm-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,17 +48,14 @@ jobs:
name: dist
path: dist

- run: ls -l
- run: ls -l dist/

- name: Semantic Release
id: semantic_release
uses: cycjimmy/semantic-release-action@v3
# with: # You can specify specifying version range for the extra plugins if you prefer.
# extra_plugins: |
# @semantic-release/git
# @semantic-release/github
# conventional-changelog-conventionalcommits
uses: cycjimmy/semantic-release-action@v4
with: # You can specify specifying version range for the extra plugins if you prefer.
extra_plugins: |
@semantic-release/git
@semantic-release/github
conventional-changelog-conventionalcommits
env:
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
Expand Down
2 changes: 0 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
"@emotion/styled": "^11.11.0",
"@mui/icons-material": "^5.14.18",
"@mui/material": "^5.14.18",
"@semantic-release/git": "^10.0.1",
"@storybook/addon-actions": "^7.5.3",
"@storybook/addon-docs": "^7.5.3",
"@storybook/addon-links": "^7.5.3",
Expand All @@ -52,7 +51,6 @@
"@types/lodash.get": "^4.4.9",
"@types/node": "^20",
"@types/react": "^18.2.37",
"conventional-changelog-conventionalcommits": "^7.0.2",
"cross-env": "^7.0.3",
"formik": "^2.4.5",
"jest": "^29.7.0",
Expand Down

0 comments on commit 0b4be14

Please sign in to comment.