Skip to content

Commit 7581bf1

Browse files
committed
Fix pnpm and changeset configuration, skip some package versions
1 parent 04c9378 commit 7581bf1

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

.github/workflows/release.yml

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,11 +10,7 @@ jobs:
1010
name: Release
1111
runs-on: ubuntu-latest
1212
steps:
13-
- name: Checkout Repo
14-
uses: actions/checkout@master
15-
with:
16-
fetch-depth: 0
17-
13+
- uses: actions/checkout@v1
1814
- uses: pnpm/action-setup@v2
1915
with:
2016
version: 7.1.0
@@ -28,8 +24,8 @@ jobs:
2824
- name: Create Release Pull Request or Publish to npm
2925
uses: changesets/action@v1
3026
with:
31-
version: pnpm changeset version
32-
publish: pnpm release
27+
version: pnpm ci:version
28+
publish: pnpm ci:publish
3329
env:
3430
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3531
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,9 @@
2121
"test:fix": "pnpm lint:fix && pnpm test && pnpm format:fix && pnpm typecheck",
2222
"no-git-changes": "./scripts/no-git-changes.sh",
2323
"check-examples": "ts-node --transpile-only ./scripts/check-examples.ts",
24-
"prerelease": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
25-
"release": "pnpm build && pnpm changeset publish"
24+
"ci:version": "pnpm changeset version && pnpm install --no-frozen-lockfile",
25+
"pre:ci:publish": "pnpm lint && pnpm format && pnpm test && pnpm typecheck",
26+
"ci:publish": "pnpm pre:ci:release && pnpm build && pnpm changeset publish"
2627
},
2728
"devDependencies": {
2829
"@changesets/cli": "^2.22.0",

packages/hardhat/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@
1111
"smartcontract",
1212
"blockchain"
1313
],
14-
"version": "6.1.0",
14+
"version": "6.1.1",
1515
"license": "MIT",
1616
"repository": "https://github.com/ethereum-ts/Typechain",
1717
"main": "./dist/index.js",

packages/target-starknet/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
"TypeChain",
99
"TypeScript"
1010
],
11-
"version": "0.2.1",
11+
"version": "0.2.2",
1212
"license": "MIT",
1313
"repository": "https://github.com/ethereum-ts/Typechain",
1414
"main": "./dist/index.js",

0 commit comments

Comments
 (0)