feat: import vault from seed #45
Workflow file for this run
This file contains hidden or 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: Check if code is formatted | |
on: | |
pull_request: | |
branches: | |
- main | |
jobs: | |
run-npm-command: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
- name: Setup asdf | |
uses: ynab/asdf-action@v1.2 | |
with: | |
version: 0.16.7 | |
- name: Setup Node version | |
working-directory: mobile | |
run: | | |
asdf plugin add nodejs | |
asdf install nodejs | |
echo "node_version=$(asdf current nodejs | xargs | cut -d ' ' -f 6)" >> $GITHUB_ENV | |
- name: Set nodejs as global exec | |
run: | | |
asdf set -u nodejs ${{ env.node_version }} | |
- name: Install dependencies | |
working-directory: mobile | |
run: npm ci | |
- name: Run ts:check | |
working-directory: mobile | |
run: npm run ts:check | |
- name: Run lint | |
working-directory: mobile | |
run: npm run lint | |
- name: Run prettier:fix | |
working-directory: mobile | |
run: npx prettier . |