mirror of
https://github.com/cse110-fa22-group29/cse110-fa22-group29.git
synced 2024-11-13 22:36:17 +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
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Install apt updates
|
- name: Install apt updates
|
||||||
run: apt -y update; apt -y upgrade;
|
run: sudo apt -y update; sudo apt -y upgrade;
|
||||||
- name: Install prerequisites
|
- name: Install prerequisites
|
||||||
run: apt install -y nodejs npm git;
|
run: sudo apt install -y nodejs npm git;
|
||||||
- name: Checkout
|
- name: Checkout
|
||||||
uses: actions/checkout@v3
|
uses: actions/checkout@v3
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: npm install
|
run: sudo npm install
|
||||||
- name: Run tests
|
- name: Run tests
|
||||||
run: npm test
|
run: sudo npm test
|
Loading…
Reference in New Issue
Block a user