Add Simple Signer Demo project #1
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: simple-signer-demo CI workflow | |
on: | |
push: | |
branches: ['main'] | |
pull_request: | |
branches: ['*'] | |
jobs: | |
build_and_test: | |
permissions: write-all | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
node-version: [16.x] | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v3 | |
- name: Start Stellar Server | |
run: docker-compose up -d stellar | |
- name: Use Node.js ${{ matrix.node-version }} | |
uses: actions/setup-node@v3 | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: NPM or Yarn install with caching | |
uses: bahmutov/[email protected] | |
- name: Build and test with coverage | |
run: npm run test |