File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -16,11 +16,14 @@ jobs:
1616 strategy :
1717 matrix :
1818 node-version :
19+ - " 22"
20+ - " 20"
21+ - " 18"
1922 - " 16"
2023 - " 14"
2124
2225 steps :
23- - uses : actions/checkout@v2
26+ - uses : actions/checkout@v5
2427 - run : yarn
2528
2629 Publish :
2932 if : startsWith(github.ref, 'v')
3033
3134 steps :
32- - uses : actions/checkout@v3
33- - uses : actions/setup-node@v3
35+ - uses : actions/checkout@v5
36+ - uses : actions/setup-node@v6
3437 with :
3538 node-version : ' 16.x'
3639 registry-url : ' https://registry.npmjs.org'
@@ -40,11 +43,11 @@ jobs:
4043 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
4144
4245 Documentation :
43- runs-on : ' ubuntu-latest'
44- needs : Build
4546 if : github.ref == 'refs/heads/master'
46- env :
47- DOC_GITHUB_TOKEN : ' ${{ secrets.DOC_TOKEN }}'
48- steps :
49- - uses : actions/checkout@v2
50- - run : curl https://opensource.byjg.com/add-doc.sh | bash /dev/stdin js jquery-sse
47+ needs : Build
48+ uses : byjg/byjg.github.io/.github/workflows/add-doc.yaml@master
49+ with :
50+ folder : php
51+ project : ${{ github.event.repository.name }}
52+ secrets :
53+ DOC_TOKEN : ${{ secrets.DOC_TOKEN }}
You can’t perform that action at this time.
0 commit comments