Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exclude tests in distribution, test esm and cjs #47

Merged
merged 11 commits into from
Sep 9, 2024
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
Loading