feat: prevent users from importing public keys as private #676
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 Unit | |
on: | |
pull_request: | |
branches: [main, master, sdk-v2] | |
types: [opened, synchronize, reopened] | |
concurrency: | |
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | |
cancel-in-progress: true | |
jobs: | |
tests-jest: | |
name: Jest Tests [Shard ${{ matrix.shard }}] | |
runs-on: buildjet-8vcpu-ubuntu-2204-arm | |
strategy: | |
fail-fast: false | |
matrix: | |
shard: [1, 2, 3, 4] | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: FuelLabs/github-actions/setups/node@master | |
with: | |
node-version: 20.11.0 | |
pnpm-version: 9.5.0 | |
- uses: FuelLabs/github-actions/setups/docker@master | |
with: | |
username: ${{ github.repository_owner }} | |
password: ${{ secrets.GITHUB_TOKEN }} | |
# Unit tests running with JEST | |
- name: Run Jest Tests | |
run: pnpm test:ci --shard ${{ matrix.shard }}/4 | |
timeout-minutes: 10 | |
- name: Stop Test Node | |
run: pnpm node:clean |