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/ path: ~/.cargo/bin/
- run: chmod +x ~/.cargo/bin/anchor - 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/ - uses: ./.github/actions/git-diff/
test-programs: test-programs:

View File

@ -1,12 +1,16 @@
{ {
"dependencies": { "name": "bpf-upgradeable-state",
"@project-serum/anchor": "^0.24.1" "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": { "repository": {
"chai": "^4.3.4", "type": "git",
"mocha": "^9.0.3", "url": "https://github.com/project-serum/anchor.git"
"ts-mocha": "^8.0.0", },
"@types/mocha": "^9.0.0", "engines": {
"typescript": "^4.3.5" "node": ">=11"
} }
} }

View File

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