fixing sudo issue. Splitting out the npm install => npm dist
This commit is contained in:
parent
7f2fab46b1
commit
17d33ba288
|
@ -18,8 +18,8 @@ jobs:
|
||||||
|
|
||||||
- name: Set up cloc
|
- name: Set up cloc
|
||||||
run: |
|
run: |
|
||||||
apt update
|
sudo apt update
|
||||||
apt -y install cloc
|
sudo apt -y install cloc
|
||||||
|
|
||||||
- name: Print lines of code
|
- name: Print lines of code
|
||||||
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
|
||||||
|
@ -37,11 +37,14 @@ jobs:
|
||||||
with:
|
with:
|
||||||
node-version: '10.x'
|
node-version: '10.x'
|
||||||
|
|
||||||
- name: Setup & Build
|
- name: Install
|
||||||
run: |
|
run: npm install
|
||||||
npm install
|
|
||||||
npm sub:init
|
- name: Setup sub-module
|
||||||
npm dist
|
run: npm sub:init
|
||||||
|
|
||||||
|
- name: Build
|
||||||
|
run: npm dist
|
||||||
|
|
||||||
- name: Zip
|
- name: Zip
|
||||||
shell: cmd
|
shell: cmd
|
||||||
|
|
Loading…
Reference in New Issue