Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 9 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,16 @@ on:
jobs:
publish-to-npm:
runs-on: ubuntu-latest
permissions:
contents: read
id-token: write
steps:
- name: Checkout
uses: actions/checkout@v3

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: 'https://registry.npmjs.org'
scope: ${{ github.repository_owner }}

Expand All @@ -32,11 +35,12 @@ jobs:
- name: Build
run: yarn build

# Using latest npm instead of yarn 1.x cause it has OIDC support
- name: Publish
run: yarn publish
run: |
npm install -g npm@11
npm publish
working-directory: dist
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_AUTH_TOKEN }}

publish-to-github:
runs-on: ubuntu-latest
Expand All @@ -49,7 +53,7 @@ jobs:

- uses: actions/setup-node@v3
with:
node-version: 18
node-version: 20
registry-url: 'https://npm.pkg.github.com'
scope: ${{ github.repository_owner }}

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@1inch/multicall",
"version": "2.0.0",
"version": "2.0.5",
"description": "High-weight optimized call-processor",
"repository": {
"type": "git",
Expand Down
Loading