-
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.
- Loading branch information
1 parent
b656536
commit cb7104d
Showing
1 changed file
with
10 additions
and
10 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 |
---|---|---|
|
@@ -9,6 +9,7 @@ | |
env: | ||
RUST_VERSION: 1.77.0 | ||
SOLANA_VERSION: 1.18.8 | ||
ANCHOR_VERSION: 0.29.0 | ||
|
||
steps: | ||
- name: Checkout | ||
|
@@ -25,19 +26,18 @@ | |
uses: metadaoproject/[email protected] | ||
with: | ||
solana-cli-version: ${{ env.SOLANA_VERSION }} | ||
|
||
# - name: Check Solana Version | ||
# run: | | ||
# solana --version | ||
# solana config set --url localhost | ||
|
||
- name: Generate Key | ||
run: solana-keygen new --no-passphrase | ||
|
||
- name: Install Anchor | ||
run: cargo install --git https://github.com/coral-xyz/anchor --tag v0.29.0 anchor-cli --locked | ||
run: cargo install --git https://github.com/coral-xyz/anchor --tag v${{ env.ANCHOR_VERSION }} anchor-cli --locked | ||
|
||
- name: Build | ||
run: anchor build | ||
|
||
# TODO: fix keypair generation issue (generate and detect by anchor) | ||
# - name: Anchor Tests | ||
# run: | | ||
# ./ci/build-and-test.sh | ||
- name: Install JS Dependencies | ||
run: yarn install | ||
|
||
- name: JS E2E Tests | ||
run: anchor test |