File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Expand file tree Collapse file tree 2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 3636 steps :
3737 - uses : actions/checkout@v2
3838 - uses : actions/setup-node@v2
39+ if : ${{ secrets.node-auth-token != '' }}}
3940 with :
4041 node-version : " 14.x"
4142 registry-url : " https://registry.npmjs.org"
43+ - uses : actions/setup-node@v2
44+ if : ${{ secrets.node-auth-token == '' }}}
45+ with :
46+ node-version : " 14.x"
4247 - name : Pin NPM Version
4348 run : npm install -g npm@8.19.3
4449 - name : Use Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 11[build-system ]
2- requires = [" hatchling" , " hatch-build-scripts>=0.0.3 " ]
2+ requires = [" hatchling" , " hatch-build-scripts>=0.0.4 " ]
33build-backend = " hatchling.build"
44
55# --- Project --------------------------------------------------------------------------
@@ -76,7 +76,7 @@ path = "reactpy/__init__.py"
7676
7777[tool .hatch .envs .default ]
7878features = [" all" ]
79- pre-install-command = " hatch run build --hooks-only"
79+ pre-install-command = " hatch build --hooks-only"
8080dependencies = [
8181 " coverage[toml]>=6.5" ,
8282 " pytest" ,
@@ -125,7 +125,7 @@ all = ["types"]
125125work_dir = " ../../js"
126126out_dir = " reactpy/_static"
127127commands = [
128- " npm install " ,
128+ " npm ci " ,
129129 " npm run build"
130130]
131131artifacts = [
You can’t perform that action at this time.
0 commit comments