added jest github action, dummying up hederautils test, we can put in… #1
Workflow file for this run
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: Run Snap Unit Tests | |
on: [push, pull_request] | |
jobs: | |
eslint: | |
name: Run Snap Unit Tests | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
name: Check out source code | |
- uses: actions/setup-node@v2 | |
name: Set up Node.js | |
with: | |
node-version: '18' | |
cache: 'yarn' | |
cache-dependency-path: packages/hedera-wallet-snap/packages/snap | |
- name: Install Dependencies in Subdirectory | |
run: yarn install | |
working-directory: ./packages/hedera-wallet-snap/packages/snap | |
- name: Run ESLint in Subdirectory | |
run: yarn test | |
working-directory: ./packages/hedera-wallet-snap/packages/snap |