File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,10 +14,16 @@ jobs:
1414 steps :
1515 - uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd
1616 with :
17+ fetch-depth : 0
1718 persist-credentials : false
1819 - uses : actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e
1920 with :
2021 node-version : 22
2122 cache : npm
23+ - uses : actions/setup-python@a26af69be951a213d495a4c3e4e4022e16d87065
24+ with :
25+ python-version : " 3.11"
2226 - run : npm ci --ignore-scripts
2327 - run : npm run ci
28+ - run : pip install skylos
29+ - run : skylos . --gate
Original file line number Diff line number Diff line change 11import { readFile , writeFile } from 'node:fs/promises' ;
22
3- const checkOnly = process . argv . includes ( '--check' ) ;
43const packageJson = JSON . parse ( await readFile ( new URL ( '../package.json' , import . meta. url ) , 'utf8' ) ) ;
54const readmeUrl = new URL ( '../README.md' , import . meta. url ) ;
65const readme = await readFile ( readmeUrl , 'utf8' ) ;
@@ -15,7 +14,7 @@ if (updated === readme) {
1514 process . exit ( 0 ) ;
1615}
1716
18- if ( checkOnly ) {
17+ if ( process . argv . includes ( '--check' ) ) {
1918 console . error ( `README package version is stale. Run npm run sync:readme-version.` ) ;
2019 process . exit ( 1 ) ;
2120}
You can’t perform that action at this time.
0 commit comments