-
-
Notifications
You must be signed in to change notification settings - Fork 872
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
Showing
8 changed files
with
19 additions
and
45 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 |
---|---|---|
|
@@ -3,12 +3,13 @@ runs: | |
using: "composite" | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: pnpm/action-setup@v2 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
- name: Set up pnpm | ||
uses: pnpm/[email protected] | ||
- name: Set up node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
node-version: 18 | ||
- name: Cache pnpm | ||
uses: actions/cache@v3 | ||
with: | ||
|
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
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
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 |
---|---|---|
|
@@ -13,19 +13,17 @@ jobs: | |
build_and_publish: | ||
name: Release (canary) | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 0 | ||
- uses: pnpm/action-setup@v2 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
- name: Set up pnpm | ||
uses: pnpm/[email protected] | ||
- name: Set up node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
node-version: 18 | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install Dependencies | ||
run: pnpm i --ignore-scripts | ||
|
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,21 +9,20 @@ jobs: | |
release: | ||
name: Release | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | ||
fetch-depth: 0 | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
- name: Set up pnpm | ||
uses: pnpm/[email protected] | ||
- name: Set up node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
node-version: 18 | ||
registry-url: 'https://registry.npmjs.org' | ||
- name: Install Dependencies | ||
run: pnpm i --ignore-scripts | ||
|
||
|
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
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 |
---|---|---|
|
@@ -6,22 +6,20 @@ jobs: | |
release: | ||
name: Publish Snapshot | ||
runs-on: ubuntu-latest | ||
strategy: | ||
matrix: | ||
node-version: [18] | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits | ||
fetch-depth: 0 | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- uses: pnpm/action-setup@v2 | ||
- name: Set up Node ${{ matrix.node-version }} | ||
- name: Set up pnpm | ||
uses: pnpm/[email protected] | ||
- name: Set up node@18 | ||
uses: actions/setup-node@v3 | ||
with: | ||
cache: 'pnpm' | ||
node-version: ${{ matrix.node-version }} | ||
node-version: 18 | ||
|
||
- name: Install Dependencies | ||
run: pnpm i --ignore-scripts | ||
|
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 |
---|---|---|
|
@@ -2,7 +2,6 @@ | |
"name": "viem", | ||
"description": "TypeScript Interface for Ethereum", | ||
"version": "0.3.3", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"anvil": "dotenv -- sh -c 'anvil --fork-url $VITE_ANVIL_FORK_URL --fork-block-number $VITE_ANVIL_BLOCK_NUMBER --block-time $VITE_ANVIL_BLOCK_TIME'", | ||
"bench": "vitest bench --no-threads", | ||
|
@@ -203,6 +202,7 @@ | |
"simple-git-hooks": { | ||
"pre-commit": "pnpm format && pnpm lint:fix" | ||
}, | ||
"packageManager": "[email protected]", | ||
"pnpm": { | ||
"overrides": { | ||
"viem": "workspace:*" | ||
|