fixing sudo issue. Splitting out the npm install => npm dist

This commit is contained in:
Joseph Flinn 2020-12-21 23:53:41 +00:00
parent 7f2fab46b1
commit 17d33ba288
1 changed files with 10 additions and 7 deletions

View File

@ -18,8 +18,8 @@ jobs:
- name: Set up cloc
run: |
apt update
apt -y install cloc
sudo apt update
sudo apt -y install cloc
- name: Print lines of code
run: cloc --include-lang TypeScript,JavaScript,HTML,Sass,CSS --vcs git
@ -37,11 +37,14 @@ jobs:
with:
node-version: '10.x'
- name: Setup & Build
run: |
npm install
npm sub:init
npm dist
- name: Install
run: npm install
- name: Setup sub-module
run: npm sub:init
- name: Build
run: npm dist
- name: Zip
shell: cmd