Skip to content

build(deps): bump @swc/core from 1.4.1 to 1.5.24 #3162

build(deps): bump @swc/core from 1.4.1 to 1.5.24

build(deps): bump @swc/core from 1.4.1 to 1.5.24 #3162

Workflow file for this run

name: Tests
# Tests runs unit tests over the entire DesmJS repository.
# This workflow is run on every pull request and push to main.
on:
pull_request:
push:
branches:
- main
jobs:
tests:
name: Tests
runs-on: ubuntu-latest
steps:
- name: Checkout 🛎️
uses: actions/checkout@v4
- name: Compute diff 📜
uses: technote-space/[email protected]
id: git_diff
with:
PATTERNS: |
**/*.+(js|ts|tsx)
FILES: |
package.json
yarn.lock
- name: Setup Node 👷
if: env.GIT_DIFF
uses: actions/setup-node@v4
with:
node-version: 16
- name: Setup Protoc 👷
uses: arduino/setup-protoc@v3
with:
version: "23.4"
repo-token: ${{ secrets.GITHUB_TOKEN }}
- name: Install 🔨
if: env.GIT_DIFF
run: yarn install --immutable
- name: Build 🔨
if: env.GIT_DIFF
run: yarn build
- name: Run core unit tests 🧪
if: env.GIT_DIFF
run: yarn workspace @desmoslabs/desmjs unit-tests
- name: Run core integration tests 🧪
if: env.GIT_DIFF
run: |
scripts/get_desmos_bin.sh 6.0.0
scripts/spawn_test_chain.sh -b
sleep 10
scripts/setup_chain.sh
yarn workspace @desmoslabs/desmjs integration-tests
- name: Run WalletConnect v2 unit tests 🧪
env:
WC_PROJECT_ID: ${{secrets.WC_PROJECT_ID}}
if: env.GIT_DIFF
run: |
echo "WC_PROJECT_ID=$WC_PROJECT_ID" >> ./packages/walletconnect-v2/.test.env
yarn workspace @desmoslabs/desmjs-walletconnect-v2 unit-tests