Batch transactions md update #4
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 (Component and Unit) | |
on: | |
pull_request: | |
types: | |
- opened | |
- reopened | |
- synchronize | |
jobs: | |
tests-run: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Add SSH key to chekout a private repo | |
uses: webfactory/[email protected] | |
with: | |
ssh-private-key: ${{ secrets.DEPLOY_KEY }} | |
- name: Checkout code | |
uses: actions/checkout@v3 | |
- name: Set up Node version️ | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 16.x | |
- name: Install NPM packages | |
run: npm ci | |
- name: Build project # just to make sure the build and linting works correctly | |
run: npm run build | |
- name: Run tests | |
run: npm run test |