File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 3030 git add package.json package-lock.json
3131 git commit -m "Bump version to ${{ inputs.version }} [skip ci]"
3232 git tag "v${{ inputs.version }}"
33- git push --follow-tags
33+ git push
34+ git push origin "v${{ inputs.version }}"
Original file line number Diff line number Diff line change 11name : Lint & test & build & publish release
22
3- # Controls when the workflow will run
43on :
54 workflow_dispatch :
65 release :
76 types : [released]
87
9- # permissions are needed if pushing to ghcr.io
108permissions :
11- packages : write
9+ contents : write
1210
1311jobs :
1412 lint-test :
6159 - if : steps.node-modules-cache.outputs.cache-hit != 'true'
6260 run : npm ci
6361
64- - run : npm run build
62+ - run : npm run build:prod
6563
6664 - run : zip -r dist-${{ github.event.release.tag_name }}.zip dist
6765
You can’t perform that action at this time.
0 commit comments