mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-09 21:24:44 +00:00
sudo all run commands
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
parent
1798ad1140
commit
6f915678b5
8
.github/workflows/js-unittest.yml
vendored
8
.github/workflows/js-unittest.yml
vendored
@ -14,12 +14,12 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Install apt updates
|
||||
run: apt -y update; apt -y upgrade;
|
||||
run: sudo apt -y update; sudo apt -y upgrade;
|
||||
- name: Install prerequisites
|
||||
run: apt install -y nodejs npm git;
|
||||
run: sudo apt install -y nodejs npm git;
|
||||
- name: Checkout
|
||||
uses: actions/checkout@v3
|
||||
- name: Install dependencies
|
||||
run: npm install
|
||||
run: sudo npm install
|
||||
- name: Run tests
|
||||
run: npm test
|
||||
run: sudo npm test
|
Loading…
Reference in New Issue
Block a user