File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 22
33on :
44 push :
5- branches : [dev, dist]
5+ branches : [dev]
6+ pull_request :
7+ branches : [dev]
68
79permissions :
810 contents : read
@@ -139,7 +141,7 @@ jobs:
139141 runs-on : ubuntu-latest
140142 timeout-minutes : 5
141143
142- if : github.ref == 'refs/heads/dev '
144+ if : github.event_name == 'push '
143145 steps :
144146 - run : ' echo "Staging dev changes"'
145147 - uses : actions/checkout@v3
Original file line number Diff line number Diff line change 2424 timeout-minutes : 5
2525
2626 steps :
27- - name : Wait for CI success
28- if : github.event_name == 'push'
29- uses : lewagon/wait-on-check-action@v1.3.1
30- with :
31- ref : ${{ github.ref }}
32- check-name : Run tests
33- repo-token : ${{ secrets.GITHUB_TOKEN }}
34- wait-interval : 10
35-
36- - name : Wait for example package CI success
37- if : github.event_name == 'push'
38- uses : lewagon/wait-on-check-action@v1.3.1
39- with :
40- ref : ${{ github.ref }}
41- check-name : Run example package tests
42- repo-token : ${{ secrets.GITHUB_TOKEN }}
43- wait-interval : 10
44-
45- - name : Wait for example project CI success
46- if : github.event_name == 'push'
47- uses : lewagon/wait-on-check-action@v1.3.1
48- with :
49- ref : ${{ github.ref }}
50- check-name : Run example project tests
51- repo-token : ${{ secrets.GITHUB_TOKEN }}
52- wait-interval : 10
53-
5427 - uses : actions/checkout@v4
5528
5629 - name : Use Node.js ${{ env.NODE_VERSION }}
You can’t perform that action at this time.
0 commit comments