File tree Expand file tree Collapse file tree 1 file changed +5
-15
lines changed
Expand file tree Collapse file tree 1 file changed +5
-15
lines changed Original file line number Diff line number Diff line change 3737 needs : paths-filter
3838 if : ${{ needs.paths-filter.outputs.src == 'true' }}
3939 runs-on : ubuntu-latest
40+ permissions :
41+ contents : write
42+ id-token : write
4043 steps :
4144 # pause for 30 minutes to avoid publishing more than 2x per hour
4245 - name : Debounce 30 minutes
5760 npm install
5861 - name : Run tests
5962 run : npm test
60-
61- # if tests pass, publish unstable
62- publish :
63- name : Publish unstable
64- needs : test
65- runs-on : ubuntu-latest
66- permissions :
67- contents : write
68- id-token : write
69- steps :
70- - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
71- with :
72- persist-credentials : false
73- ref : main
74- - name : npm publish
63+ # if tests pass, publish unstable
64+ - name : publish unstable build
7565 run : |
7666 # set unstable version value
7767 unstable_tag="unstable.$(date --utc +%Y%m%d%H%M%S)"
You can’t perform that action at this time.
0 commit comments