Skip to content

Commit

Permalink
chore: ts:check (#131)
Browse files Browse the repository at this point in the history
* chore: ts:check

* chore: run ts:check
  • Loading branch information
iuricmp authored Sep 17, 2024
1 parent 925846f commit bf67907
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions .github/workflows/pull-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
name: First check on PR

on:
pull_request:
branches:
- main

jobs:
run-npm-command:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup asdf
uses: asdf-vm/actions/setup@v3

- 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 2)" >> $GITHUB_ENV
- name: Set nodejs as global exec
run: |
asdf global 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

0 comments on commit bf67907

Please sign in to comment.