File tree Expand file tree Collapse file tree 1 file changed +9
-13
lines changed
Expand file tree Collapse file tree 1 file changed +9
-13
lines changed Original file line number Diff line number Diff line change @@ -32,23 +32,16 @@ jobs:
3232 - 'index.d.ts'
3333 - 'index.js'
3434
35- # pause for 30 minutes to avoid publishing more than 2x per hour
36- debounce :
37- name : Publish max 2x per hour
35+ test :
36+ name : Run tests and publish unstable
3837 if : needs.paths-filter.outputs.src == 'true'
3938 runs-on : ubuntu-latest
4039 steps :
40+ # pause for 30 minutes to avoid publishing more than 2x per hour
4141 - name : Debounce 30 minutes
4242 uses : zachary95/github-actions-debounce@ab7363483e2837992b8aa6be891763da00ac14f9 # v0.1.0
4343 with :
4444 wait : 1800
45-
46- # run tests prior to publish to ensure some stability
47- test :
48- name : Run tests
49- needs : debounce
50- runs-on : ubuntu-latest
51- steps :
5245 - uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
5346 with :
5447 persist-credentials : false
5750 with :
5851 node-version : " 22.x"
5952 registry-url : " https://registry.npmjs.org"
60- - run : npm install -g npm
61- - run : npm install
62- - run : npm test
53+ - name : Install dependencies
54+ run : |
55+ npm install -g npm
56+ npm install
57+ - name : Run tests
58+ run : npm test
6359
6460 # if tests pass, publish unstable
6561 publish :
You can’t perform that action at this time.
0 commit comments