Skip to content

Commit ab5c991

Browse files
authored
Merge pull request #7 from aave/cesare/aave-1667-sdk-fix-build-and-ci-setup
chore: experiment with snapshot releases
2 parents 735a37a + 3c444cb commit ab5c991

File tree

7 files changed

+38
-9
lines changed

7 files changed

+38
-9
lines changed
Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
name: Continuous Deployment
1+
permissions:
2+
contents: read
3+
packages: write
4+
5+
name: Pre-release
26

37
on:
48
push:
@@ -25,8 +29,11 @@ jobs:
2529
- name: Setup Repository
2630
uses: ./.github/actions/setup
2731

28-
- name: Configure NPM Auth Token
29-
run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
32+
- name: Configure NPM Auth
33+
run: |
34+
echo "@aave:registry=https://npm.pkg.github.com" >> ~/.npmrc
35+
echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc
36+
echo "always-auth=true" >> ~/.npmrc
3037
3138
- name: Create Snapshot
3239
id: create_snapshot
@@ -43,3 +50,5 @@ jobs:
4350
- name: Publish Snapshot
4451
if: env.changeset_exists == 'true'
4552
run: pnpm changeset publish --snapshot --tag canary --no-git-tag
53+
env:
54+
NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}

packages/client/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,5 +106,9 @@
106106
"optional": true
107107
}
108108
},
109-
"license": "MIT"
109+
"license": "MIT",
110+
"publishConfig": {
111+
"access": "restricted",
112+
"registry": "https://npm.pkg.github.com"
113+
}
110114
}

packages/client/src/privy.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ describe('Given a PrivyClient instance', () => {
3030
currency: ETHEREUM_USDC_ADDRESS,
3131
amount: bigDecimal('1'),
3232
chainId: chainId(1),
33-
spender: evmAddress('0x0000000000000000000000000000000000000000'),,
33+
spender: evmAddress('0x0000000000000000000000000000000000000000'),
3434
owner: evmAddress('0x0000000000000000000000000000000000000000'),
3535
}).andThen(
3636
signERC20PermitWith(privy, import.meta.env.PRIVY_TEST_WALLET_ID),

packages/core/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,5 +36,9 @@
3636
"tsup": "^8.5.0",
3737
"typescript": "^5.9.2"
3838
},
39-
"license": "MIT"
39+
"license": "MIT",
40+
"publishConfig": {
41+
"access": "restricted",
42+
"registry": "https://npm.pkg.github.com"
43+
}
4044
}

packages/graphql/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,5 +59,9 @@
5959
"tsup": "^8.5.0",
6060
"typescript": "^5.9.2"
6161
},
62-
"license": "MIT"
62+
"license": "MIT",
63+
"publishConfig": {
64+
"access": "restricted",
65+
"registry": "https://npm.pkg.github.com"
66+
}
6367
}

packages/react/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,5 +99,9 @@
9999
"optional": true
100100
}
101101
},
102-
"license": "MIT"
102+
"license": "MIT",
103+
"publishConfig": {
104+
"access": "restricted",
105+
"registry": "https://npm.pkg.github.com"
106+
}
103107
}

packages/types/package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,5 +42,9 @@
4242
"tsup": "^8.5.0",
4343
"typescript": "^5.9.2"
4444
},
45-
"license": "MIT"
45+
"license": "MIT",
46+
"publishConfig": {
47+
"access": "restricted",
48+
"registry": "https://npm.pkg.github.com"
49+
}
4650
}

0 commit comments

Comments
 (0)