Skip to content

Commit

Permalink
Merge pull request #158 from oraichain/chore/update-oraidex-contracts…
Browse files Browse the repository at this point in the history
…-build

Chore/update oraidex contracts build
  • Loading branch information
ducphamle2 authored Feb 19, 2024
2 parents ec95353 + 456bab9 commit a842ede
Show file tree
Hide file tree
Showing 26 changed files with 728 additions and 522 deletions.
13 changes: 6 additions & 7 deletions .github/workflows/check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,13 +30,10 @@ jobs:
with:
node-version: ${{ matrix.node }}

- run: npm install -g yarn

- name: Get yarn cache directory path
id: yarn-cache-dir-path
run: echo "dir=$(yarn cache dir)" >> $GITHUB_OUTPUT

- uses: actions/cache@v3
run: echo "::set-output name=dir::$(yarn cache dir)"
- uses: actions/cache@v2
id: yarn-cache
with:
path: |
Expand All @@ -45,10 +42,12 @@ jobs:
key: ${{ runner.os }}-yarn-${{ hashFiles('./yarn.lock') }}
restore-keys: |
${{ runner.os }}-yarn-
- name: Install Dependencies
if: steps.yarn-cache.outputs.cache-hit != 'true'
run: yarn
run: |
npm install -g yarn
yarn
- name: Run nx reset workspace
run: yarn nx reset
Expand Down
8 changes: 8 additions & 0 deletions .github/workflows/publish_package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,14 @@ jobs:
CI: false
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: Publish Oraidex contracts-build
id: publish-oraidex-contracts-build
continue-on-error: true
run: yarn deploy packages/contracts-build
env:
CI: false
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

- name: send result via discord
uses: appleboy/discord-action@master
with:
Expand Down
Binary file not shown.
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_factory.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_limit_order.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_oracle.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_pair.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_rewarder.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_router.wasm
Binary file not shown.
Binary file modified packages/contracts-build/data/oraiswap_staking.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion packages/contracts-build/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/oraidex-contracts-build",
"version": "1.0.22",
"version": "1.0.25",
"main": "build/index.js",
"license": "MIT",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/contracts-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@oraichain/oraidex-contracts-sdk",
"version": "1.0.31",
"version": "1.0.33",
"main": "build/index.js",
"files": [
"build/",
Expand Down
Loading

0 comments on commit a842ede

Please sign in to comment.