Skip to content

Commit

Permalink
adding actions
Browse files Browse the repository at this point in the history
  • Loading branch information
rh0delta committed Jun 21, 2024
1 parent 926050a commit 30afa80
Showing 1 changed file with 38 additions and 0 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Build, lint, test
run-name: Test JS SDK (started by @${{ github.triggering_actor }})

on:
pull_request:
types:
- opened
- synchronize
- reopened

jobs:
build_test_lint:
name: Build, test, and lint
permissions:
contents: read
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: 20.10.0
- name: Install
run: yarn --network-timeout 180000
- name: Typecheck
run: yarn run test:types
- name: Build
run: yarn run build
- name: Log in to Docker Hub
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKER_HUB_USERNAME }}
password: ${{ secrets.DOCKER_HUB_CI_TOKEN }}
- name: Add TSS server host mappings
run: |
echo "127.0.0.1 alice-tss-server bob-tss-server" | sudo tee -a /etc/hosts
- name: Test
run: yarn run test

0 comments on commit 30afa80

Please sign in to comment.