[ECO-2530] Fix emojis not showing up on most devices; add jest
setup for frontend
#711
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
--- | |
jobs: | |
sdk-tests: | |
defaults: | |
run: | |
working-directory: 'src/typescript' | |
runs-on: 'ubuntu-latest' | |
steps: | |
- uses: 'actions/checkout@v4' | |
with: | |
submodules: 'false' | |
- uses: 'actions/setup-node@v4' | |
with: | |
node-version-file: 'src/typescript/.node-version' | |
- name: 'Install dependencies' | |
run: 'npm install -g pnpm && pnpm install' | |
- name: 'Install the latest Aptos CLI' | |
# yamllint disable-line rule:line-length | |
uses: 'aptos-labs/aptos-core/.github/actions/get-latest-cli@8792eefecd537c33fb879984635a0762838e2329' | |
with: | |
destination_directory: '/usr/local/bin' | |
- env: | |
NEXT_PUBLIC_MODULE_ADDRESS: >- | |
0xf000d910b99722d201c6cf88eb7d1112b43475b9765b118f289b5d65d919000d | |
PUBLISHER_PRIVATE_KEY: >- | |
0xeaa964d1353b075ac63b0c5a0c1e92aa93355be1402f6077581e37e2a846105e | |
name: 'Run SDK tests' | |
run: 'pnpm run test:sdk' | |
- if: 'failure()' | |
name: 'Print local testnet logs on failure' | |
run: 'cat ${{ runner.temp }}/local-testnet-logs.txt' | |
shell: 'bash' | |
timeout-minutes: 15 | |
name: 'Run the SDK tests' | |
'on': | |
pull_request: null | |
push: | |
branches: | |
- 'main' | |
- 'production' | |
workflow_dispatch: null | |
... |