@@ -22,38 +22,38 @@ jobs:
2222 node-version : [24.x]
2323
2424 steps :
25- - name : Check out scripts from main branch
26- uses : actions/checkout@v4
27- with :
28- ref : refs/heads/main
29- sparse-checkout : |
30- .github/scripts
31- token : ${{ secrets.GITHUB_TOKEN }}
32-
3325 - name : Check out api schemas from en branch
3426 uses : actions/checkout@v4
3527 with :
3628 ref : refs/heads/en
3729 path : openapi
3830 token : ${{ secrets.GITHUB_TOKEN }}
3931
40- - name : Set up Node.js
41- uses : actions/setup-node @v4
32+ - name : Check out scripts from main branch
33+ uses : actions/checkout @v4
4234 with :
43- node-version : ${{ matrix.node-version }}
35+ ref : refs/heads/main
36+ sparse-checkout : |
37+ .github/scripts
38+ token : ${{ secrets.GITHUB_TOKEN }}
39+
40+ # - name: Set up Node.js
41+ # uses: actions/setup-node@v4
42+ # with:
43+ # node-version: ${{ matrix.node-version }}
4444
45- - name : Install script dependencies
46- working-directory : .github/scripts
47- run : npm install
45+ # - name: Install script dependencies
46+ # working-directory: .github/scripts
47+ # run: npm install
4848
49- - name : Run add-code-samples script
50- working-directory : .github/scripts
51- run : npm run add-code-samples -- "../../openapi" "openapi.*\\.json"
49+ # - name: Run add-code-samples script
50+ # working-directory: .github/scripts
51+ # run: npm run add-code-samples -- "../../openapi" "openapi.*\\.json"
5252
5353 - name : Push openapi directory to en-api-docs branch
54545555 env :
5656 REPO : self
57- BRANCH : refs/heads/ en-api-docs
57+ BRANCH : en-api-docs
5858 FOLDER : openapi
5959 GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
0 commit comments