Skip to content

Commit

Permalink
feat: initial release (#2)
Browse files Browse the repository at this point in the history
* chore: normalize folder name to lowercase

* feat: initial release

BREAKING CHANGE: First release of @tangle-network/evm-contract-metadata

* chore: update workflows

---------

Co-authored-by: Pavan Soratur <[email protected]>
  • Loading branch information
devpavan04 and Pavan Soratur authored Nov 7, 2024
1 parent 5a406c1 commit 512973d
Show file tree
Hide file tree
Showing 25 changed files with 63 additions and 5 deletions.
47 changes: 45 additions & 2 deletions .github/workflows/check-clean.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,14 @@ jobs:
- name: Enable Corepack
run: corepack enable

- name: Setup Yarn cache
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Format Check
run: yarn format:check
Expand All @@ -51,8 +57,45 @@ jobs:
- name: Enable Corepack
run: corepack enable

- name: Setup Yarn cache
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Lint Check
run: yarn lint:check

ts-check:
name: ts-check
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- uses: actions/checkout@v3

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}

- name: Enable Corepack
run: corepack enable

- name: Setup Yarn cache
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install --immutable

- name: ts-check
run: |
yarn install --immutable
yarn ts-check
17 changes: 15 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,23 @@ on:
branches:
- main

permissions:
contents: write
issues: write
pull-requests: write

jobs:
release:
name: Release
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
node-version: [20.x]
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0

- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v3
Expand All @@ -24,8 +31,14 @@ jobs:
- name: Enable Corepack
run: corepack enable

- name: Setup Yarn cache
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'

- name: Install dependencies
run: yarn install
run: yarn install --immutable

- name: Build
run: yarn build
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
"lint:fix": "eslint 'src/**/*.{js,ts,json,yaml,yml}' --fix",
"format:check": "prettier --check \"**/*.{ts,js,json,yaml,yml}\"",
"format:fix": "prettier --write \"**/*.{ts,js,json,yaml,yml}\"",
"ts-check": "tsc --noEmit -p ./tsconfig.json",
"test": "vitest",
"semantic-release": "semantic-release"
},
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
3 changes: 2 additions & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,5 +23,6 @@
}
},
"include": ["src/**/*", "test/**/*"],
"exclude": ["node_modules", "dist"]
"exclude": ["node_modules", "dist"],
"outDir": "./dist"
}

0 comments on commit 512973d

Please sign in to comment.