fix anchor-init ci and bpf-upgradeable-state package.json (#1781)

This commit is contained in:
Paul 2022-04-12 19:29:52 -04:00 committed by GitHub
parent d491f0ba1d
commit d07853e9ef
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 15 additions and 10 deletions

View File

@ -327,7 +327,7 @@ jobs:
path: ~/.cargo/bin/
- run: chmod +x ~/.cargo/bin/anchor
- run: cd "$(mktemp -d)" && anchor init hello-anchor && cd hello-anchor && yarn link @project-serum/anchor && anchor test && yarn lint:fix
- run: cd "$(mktemp -d)" && anchor init hello-anchor && cd hello-anchor && yarn link @project-serum/anchor && yarn && anchor test && yarn lint:fix
- uses: ./.github/actions/git-diff/
test-programs:

View File

@ -1,12 +1,16 @@
{
"dependencies": {
"@project-serum/anchor": "^0.24.1"
"name": "bpf-upgradeable-state",
"version": "0.24.0",
"license": "(MIT OR Apache-2.0)",
"homepage": "https://github.com/project-serum/anchor#readme",
"bugs": {
"url": "https://github.com/project-serum/anchor/issues"
},
"devDependencies": {
"chai": "^4.3.4",
"mocha": "^9.0.3",
"ts-mocha": "^8.0.0",
"@types/mocha": "^9.0.0",
"typescript": "^4.3.5"
"repository": {
"type": "git",
"url": "https://github.com/project-serum/anchor.git"
},
"engines": {
"node": ">=11"
}
}

View File

@ -33,7 +33,8 @@
"zero-copy",
"declare-id",
"cpi-returns",
"multiple-suites"
"multiple-suites",
"bpf-upgradeable-state"
],
"dependencies": {
"@project-serum/anchor": "file:../ts",