Skip to content

Commit 790ee0f

Browse files
authored
Merge pull request #22 from sablier-labs/prettier-formatting-and-ci-checks
Prettier formatting and CI checks
2 parents de913ec + 43c7219 commit 790ee0f

File tree

124 files changed

+33581
-478
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

124 files changed

+33581
-478
lines changed

.github/workflows/ci.yml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
name: "CI"
2+
3+
on:
4+
pull_request:
5+
push:
6+
branches: ["main"]
7+
8+
jobs:
9+
ci:
10+
runs-on: "ubuntu-latest"
11+
steps:
12+
- name: "Check out the repo"
13+
uses: "actions/checkout@v4"
14+
15+
- name: "Install Bun"
16+
uses: "oven-sh/setup-bun@v2"
17+
18+
- name: "Install the Node.js dependencies"
19+
run: "bun install"
20+
21+
- name: "Lint the code"
22+
run: "bun run prettier:check"
23+
24+
- name: "Add summary"
25+
run: |
26+
echo "## CI result" >> $GITHUB_STEP_SUMMARY
27+
echo "✅ Passed" >> $GITHUB_STEP_SUMMARY

.prettierignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# directories
2+
node_modules

.prettierrc.yml

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
bracketSpacing: true
21
printWidth: 120
32
proseWrap: "always"
4-
singleQuote: false
5-
tabWidth: 2
63
trailingComma: "all"
7-
useTabs: false

airdrops/v1.3.0/artifacts/SablierMerkleFactory.json

Lines changed: 1409 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/SablierMerkleInstant.json

Lines changed: 1118 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/SablierMerkleLL.json

Lines changed: 1286 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/SablierMerkleLT.json

Lines changed: 1327 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/erc20/IERC20.json

Lines changed: 277 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/interfaces/ISablierMerkleFactory.json

Lines changed: 1273 additions & 1 deletion
Large diffs are not rendered by default.

airdrops/v1.3.0/artifacts/interfaces/ISablierMerkleInstant.json

Lines changed: 445 additions & 1 deletion
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)