File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2121 CI_JOB_NUMBER : 2
2222 steps :
2323 - uses : actions/checkout@v1
24+ with :
25+ fetch-depth : 0
2426 - name : Use Node.js 20.x
2527 uses : actions/setup-node@v1
2628 with :
2729 node-version : 20.x
2830 - run : yarn install
29- - run : yarn build
31+ - run : yarn build:modified origin/${{ github.event.pull_request.base.ref }}
Original file line number Diff line number Diff line change 1616 registry-url : https://registry.npmjs.org/
1717 - run : yarn
1818 - run : yarn lint-test
19- - run : yarn build
19+ - run : yarn build:all
2020 - run : yarn workspace @hawk.so/javascript publish --access=public
2121 env :
2222 NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
Original file line number Diff line number Diff line change 99 ],
1010 "scripts" : {
1111 "dev" : " yarn workspace @hawk.so/javascript dev" ,
12- "build" : " yarn workspace @hawk.so/javascript build" ,
12+ "build:all" : " yarn workspaces foreach -Apt run build" ,
13+ "build:modified" : " yarn workspaces foreach --since=\" $@\" -Rpt run build" ,
1314 "stats" : " yarn workspace @hawk.so/javascript stats" ,
1415 "lint" : " eslint -c ./.eslintrc.cjs packages/*/src --ext .ts,.js --fix" ,
1516 "lint-test" : " eslint -c ./.eslintrc.cjs packages/*/src --ext .ts,.js"
You can’t perform that action at this time.
0 commit comments