Skip to content

Commit 2484a03

Browse files
committed
Retry tests
1 parent 52ca1b1 commit 2484a03

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/build_project.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,4 +16,8 @@ jobs:
1616
- uses: actions/setup-node@v1
1717
with:
1818
node-version: 10
19-
- run: sudo mkdir /captain && npm ci && npm run build # && sudo npm run test
19+
- run: |
20+
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
21+
npm ci
22+
npm run build
23+
npm run test

.github/workflows/publish_release.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
with:
1515
node-version: 14
1616
- run: |
17-
sudo mkdir /captain
17+
sudo bash -c "mkdir /captain && chown -R `whoami` /captain"
1818
npm ci
1919
npm run build
2020
npm run lint
2121
npm run formatter
22-
sudo npm run test
22+
npm run test
2323
build-publish-docker-hub:
2424
needs: run-pre-checks
2525
runs-on: ubuntu-latest

0 commit comments

Comments
 (0)