File tree Expand file tree Collapse file tree 3 files changed +5
-5
lines changed
Expand file tree Collapse file tree 3 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ jobs:
1515 node-version : " 22"
1616 - run : node --version
1717 - run : npm i
18- - run : npm run prepare
18+ - run : node -- run prepare
1919 - name : Create issue if tests fail
2020 env :
2121 REPO : ${{ github.repository }}
2222 TOKEN : ${{ secrets.GH_TOKEN }}
2323 run : |
24- npm t || curl -X "POST" "https://api.github.com/repos/${REPO}/issue" \
24+ node --run test || curl -X "POST" "https://api.github.com/repos/${REPO}/issue" \
2525 -H "Accept: application/vnd.github+json" \
2626 -H "X-GitHub-Api-Version: 2022-11-28" \
2727 -H "Authorization: Bearer ${TOKEN}" \
Original file line number Diff line number Diff line change 1414 node-version : " 22"
1515 - run : node --version
1616 - run : npm i
17- - run : npm t
18- - run : npm run format
17+ - run : node --run test
18+ - run : node -- run format
1919 - name : commit auto fixes
2020 env :
2121 USERNAME : ${{ github.actor }}
Original file line number Diff line number Diff line change 4949 "build" : " ./scripts/build.sh" ,
5050 "format" : " prettier --write ." ,
5151 "test" : " ./scripts/test.sh" ,
52- "prepublishOnly" : " npm run build"
52+ "prepublishOnly" : " node -- run build"
5353 },
5454 "devDependencies" : {
5555 "esbuild" : " ^0.24.2" ,
You can’t perform that action at this time.
0 commit comments