sudo all run commands

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
This commit is contained in:
Arthur Lu 2022-11-07 23:38:53 +00:00
parent 1798ad1140
commit 6f915678b5

View File

@ -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