File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change 77jobs :
88 release :
99 name : Release (${{ github.event.workflow_run.head_commit.id }})
10- if : ${{ github.ref_name == 'main' && github.event.workflow_run.conclusion == 'success' }}
10+ if : ${{ github.event.workflow_run.head_branch == 'main' && github.event.workflow_run.conclusion == 'success' }}
1111 runs-on : ubuntu-latest
1212 steps :
1313 - name : Checkout
@@ -20,15 +20,15 @@ jobs:
2020 node-version : ' lts/*'
2121 registry-url : ' https://registry.npmjs.org'
2222 - name : Install package dependencies
23- run : yarn install
23+ run : npm install
2424 - name : Build package
25- run : yarn run build
25+ run : npm run build
2626 - name : list files in dist
2727 run : |
2828 sudo apt-get install tree
2929 tree dist
3030 - name : Install semantic release
31- run : yarn add -D semantic-release @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits
31+ run : npm install -D semantic-release @semantic-release/changelog @semantic-release/git conventional-changelog-conventionalcommits@7.0.2
3232 - name : Semantic Release
3333 run : npx semantic-release --debug
3434 env :
You can’t perform that action at this time.
0 commit comments