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:
32
32
- 'index.d.ts'
33
33
- 'index.js'
34
34
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
38
37
if : needs.paths-filter.outputs.src == 'true'
39
38
runs-on : ubuntu-latest
40
39
steps :
40
+ # pause for 30 minutes to avoid publishing more than 2x per hour
41
41
- name : Debounce 30 minutes
42
42
uses : zachary95/github-actions-debounce@ab7363483e2837992b8aa6be891763da00ac14f9 # v0.1.0
43
43
with :
44
44
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 :
52
45
- uses : actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
53
46
with :
54
47
persist-credentials : false
57
50
with :
58
51
node-version : " 22.x"
59
52
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
63
59
64
60
# if tests pass, publish unstable
65
61
publish :
You can’t perform that action at this time.
0 commit comments