Skip to content

Commit

Permalink
ci: fix lint actions
Browse files Browse the repository at this point in the history
  • Loading branch information
nattb8 committed May 29, 2024
1 parent e7601d8 commit 8348251
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 27 deletions.
11 changes: 2 additions & 9 deletions .github/workflows/lint-contracts.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,8 @@
---
name: Lint contract/
name: Lint contracts/

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]


jobs:
build:
Expand All @@ -23,12 +19,9 @@ jobs:
with:
fetch-depth: 0

- name: Clean cache
working-directory: ./contracts
run: yarn cache clean
- name: Install packages for contracts
working-directory: ./contracts
run: yarn install
run: rm yarn.lock && yarn install
- name: Run eslint against contracts
working-directory: ./contracts
run: yarn lint
7 changes: 0 additions & 7 deletions .github/workflows/lint-json-server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Lint json-server/

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]


jobs:
build:
Expand All @@ -23,9 +19,6 @@ jobs:
with:
fetch-depth: 0

- name: Clean cache
working-directory: ./json-server
run: yarn cache clean
- name: Install packages for json-server
working-directory: ./json-server
run: yarn install
Expand Down
7 changes: 0 additions & 7 deletions .github/workflows/lint-mint-backend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,6 @@ name: Lint mint-backend/

on:
push:
branches-ignore: [main]
pull_request:
branches: [main]


jobs:
build:
Expand All @@ -23,9 +19,6 @@ jobs:
with:
fetch-depth: 0

- name: Clean cache
working-directory: ./mint-backend
run: yarn cache clean
- name: Install packages for mint-backend
working-directory: ./mint-backend
run: yarn install
Expand Down
4 changes: 0 additions & 4 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,6 @@ name: Lint Code Base
#############################
on:
push:
branches-ignore: [main]
# Remove the line above to run when pushing to master
pull_request:
branches: [main]

###############
# Set the Job #
Expand Down

0 comments on commit 8348251

Please sign in to comment.