build(deps-dev): bump @babel/core from 7.23.9 to 7.24.1 #3107
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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/get-diff-action@v6.1.2 | |
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 |