Skip to content

Commit

Permalink
Update adding continue-on-error
Browse files Browse the repository at this point in the history
  • Loading branch information
giade committed Dec 5, 2023
1 parent 0f309e2 commit 63c3d15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/deploy-production.yml
Original file line number Diff line number Diff line change
Expand Up @@ -69,10 +69,10 @@ jobs:
if: steps.build.outcome == 'failure'
run: exit 1

# run linting
# run linting and continue on error
- name: Lint
id: lint
continue-on-error: true
id: lint
run: yarn lint

# return error if linting fails
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ jobs:
run: npm install -g yarn

- name: Run a multi-line script
continue-on-error: true
id: build
run: |
yarn
Expand All @@ -70,6 +71,7 @@ jobs:

# run linting
- name: Lint
continue-on-error: true
id: lint
run: yarn lint

Expand All @@ -92,6 +94,7 @@ jobs:
# run tests
- name: Test
id: test
continue-on-error: true
run: yarn test

# return error if tests fail
Expand Down

0 comments on commit 63c3d15

Please sign in to comment.