forked from miloops/workspace
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #425 from popcorndao/pre-commit-hook
Pre commit hook
- Loading branch information
Showing
612 changed files
with
16,419 additions
and
8,286 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
@@ -19,19 +18,19 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: canastro/copy-file-action@master | ||
name: "copy env file" | ||
name: 'copy env file' | ||
with: | ||
source: .env.example | ||
target: .env | ||
- uses: borales/[email protected] | ||
name: "yarn install" | ||
name: 'yarn install' | ||
with: | ||
cmd: install # will run `yarn install` command | ||
- uses: borales/[email protected] | ||
name: "build" | ||
name: 'build' | ||
with: | ||
cmd: app:build # will run `yarn app:build` command | ||
- uses: borales/[email protected] | ||
name: "solidity coverage" | ||
name: 'solidity coverage' | ||
with: | ||
cmd: coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
@@ -19,20 +18,20 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: canastro/copy-file-action@master | ||
name: "copy env file" | ||
name: 'copy env file' | ||
with: | ||
source: .env.example | ||
target: .env | ||
- uses: borales/[email protected] | ||
name: "yarn install" | ||
name: 'yarn install' | ||
with: | ||
cmd: install # will run `yarn install` command | ||
- uses: borales/[email protected] | ||
name: "build" | ||
name: 'build' | ||
with: | ||
cmd: app:build # will run `yarn app:build` command | ||
- uses: borales/[email protected] | ||
name: "run tests" | ||
name: 'run tests' | ||
with: | ||
cmd: test:fork | ||
env: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -8,7 +8,6 @@ on: | |
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
strategy: | ||
|
@@ -19,19 +18,19 @@ jobs: | |
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: canastro/copy-file-action@master | ||
name: "copy env file" | ||
name: 'copy env file' | ||
with: | ||
source: .env.example | ||
target: .env | ||
- uses: borales/[email protected] | ||
name: "yarn install" | ||
name: 'yarn install' | ||
with: | ||
cmd: install # will run `yarn install` command | ||
- uses: borales/[email protected] | ||
name: "build" | ||
name: 'build' | ||
with: | ||
cmd: app:build # will run `yarn app:build` command | ||
- uses: borales/[email protected] | ||
name: "run tests" | ||
name: 'run tests' | ||
with: | ||
cmd: test | ||
cmd: test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
_ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
#!/bin/sh | ||
. "$(dirname "$0")/_/husky.sh" | ||
|
||
npx lint-staged |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.