build: explicitly use npm lts/iron when building package
This commit is contained in:
parent
a09d50af2c
commit
52b83d05bb
2 changed files with 2 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -28,3 +28,4 @@ coverage
|
|||
*.sw?
|
||||
|
||||
*.tsbuildinfo
|
||||
*~
|
||||
|
|
2
tasks.py
2
tasks.py
|
@ -24,7 +24,7 @@ def release(c):
|
|||
version = js['version']
|
||||
|
||||
# build the app, create zip archive
|
||||
c.run('npm run build')
|
||||
c.run("bash -lc 'nvm use lts/iron; npm run build'")
|
||||
os.chdir('dist')
|
||||
filename = f'myweather-{version}.zip'
|
||||
c.run(f'zip --recurse-paths {filename} *')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue