Skip to content

Commit

Permalink
Merge pull request #47 from heyAyushh/exclude-tests-in-dist
Browse files Browse the repository at this point in the history
exclude tests in distribution, test esm and cjs
  • Loading branch information
mikemaccana authored Sep 9, 2024
2 parents a78c452 + 8ee69cc commit be6e684
Show file tree
Hide file tree
Showing 15 changed files with 1,162 additions and 1,818 deletions.
7 changes: 6 additions & 1 deletion .github/workflows/tests.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ jobs:
# Install Solana CLI (beta, required to fix 'ahash' issue)
solana-cli-version: "1.18.5"

- name: Setup Node.js version
uses: actions/setup-node@v4
with:
node-version: 21.x

- name: Run Solana validator (and background it)
run: solana-test-validator &

Expand All @@ -28,4 +33,4 @@ jobs:
run: echo $PATH; which solana-keygen

- name: Run tests
run: npm test
run: npm run test:ci
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
src/temp
tests/temp
dist
node_modules
test-ledger
.env*
.env*
coverage
Loading

0 comments on commit be6e684

Please sign in to comment.