Skip to content

feat(JUP): jup exactOut add failback exactIn #693

feat(JUP): jup exactOut add failback exactIn

feat(JUP): jup exactOut add failback exactIn #693

name: allbridge-core-sdk
on: [push]
env:
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
jobs:
allbridge-core-sdk:
runs-on: ubuntu-latest
concurrency:
group: ${{ github.ref }}
cancel-in-progress: true
steps:
- uses: actions/checkout@v3
- uses: volta-cli/action@v1
- name: Install Node.js
uses: actions/setup-node@v3
with:
node-version: 16
- uses: pnpm/[email protected]
name: Install pnpm
id: pnpm-install
with:
version: 7
run_install: false
- name: Get pnpm store directory
id: pnpm-cache
run: |
echo "::set-output name=pnpm_cache_dir::$(pnpm store path)"
- uses: actions/cache@v3
name: Setup pnpm cache
with:
path: ${{ steps.pnpm-cache.outputs.pnpm_cache_dir }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- name: Install dependencies
run: pnpm install
# - name: Dependencies audit
# run: pnpm audit
- name: Build
run: pnpm run build
- name: Format check
run: pnpm run format:check
- name: Lint check
run: pnpm run lint:check
- name: Spell check
run: pnpm run spell:check
- name: Test
run: pnpm run test
- name: Docs
run: pnpm run tsdoc
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: pnpm run semantic-release