File tree 2 files changed +8
-3
lines changed
2 files changed +8
-3
lines changed Original file line number Diff line number Diff line change 36
36
steps :
37
37
- uses : actions/checkout@v2
38
38
- uses : actions/setup-node@v2
39
+ if : ${{ secrets.node-auth-token != '' }}}
39
40
with :
40
41
node-version : " 14.x"
41
42
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"
42
47
- name : Pin NPM Version
43
48
run :
npm install -g [email protected]
44
49
- name : Use Python ${{ matrix.python-version }}
Original file line number Diff line number Diff line change 1
1
[build-system ]
2
- requires = [" hatchling" , " hatch-build-scripts>=0.0.3 " ]
2
+ requires = [" hatchling" , " hatch-build-scripts>=0.0.4 " ]
3
3
build-backend = " hatchling.build"
4
4
5
5
# --- Project --------------------------------------------------------------------------
@@ -76,7 +76,7 @@ path = "reactpy/__init__.py"
76
76
77
77
[tool .hatch .envs .default ]
78
78
features = [" all" ]
79
- pre-install-command = " hatch run build --hooks-only"
79
+ pre-install-command = " hatch build --hooks-only"
80
80
dependencies = [
81
81
" coverage[toml]>=6.5" ,
82
82
" pytest" ,
@@ -125,7 +125,7 @@ all = ["types"]
125
125
work_dir = " ../../js"
126
126
out_dir = " reactpy/_static"
127
127
commands = [
128
- " npm install " ,
128
+ " npm ci " ,
129
129
" npm run build"
130
130
]
131
131
artifacts = [
You can’t perform that action at this time.
0 commit comments