Skip to content

Commit

Permalink
fix: git workflow typecheck was added with bob
Browse files Browse the repository at this point in the history
  • Loading branch information
Damian333 committed Dec 12, 2024
1 parent 0848663 commit 183638c
Show file tree
Hide file tree
Showing 3 changed files with 3,618 additions and 88 deletions.
27 changes: 24 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,6 @@ jobs:
- name: Lint files
run: yarn lint

- name: Typecheck files
run: yarn typecheck

test:
runs-on: ubuntu-latest
steps:
Expand All @@ -47,9 +44,33 @@ jobs:
- name: Setup
uses: ./.github/actions/setup

- name: Install dependencies
run: yarn install

- name: Build package
run: yarn prepare

typecheck:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3

- name: Setup
uses: ./.github/actions/setup

- name: Install dependencies
run: yarn install

- name: Build library
run: yarn prepare

- name: Link library to example
run: yarn workspace example add file:../react-native-survey-kit

- name: Typecheck files
run: yarn workspace example typecheck

publish:
needs: build-library
runs-on: ubuntu-latest
Expand Down
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curiosum-dev/react-native-survey-kit",
"version": "0.1.2",
"version": "0.1.3",
"description": "React Native package with survey component.",
"source": "./src/index.tsx",
"main": "./lib/commonjs/index.js",
Expand Down Expand Up @@ -72,6 +72,7 @@
"@types/react": "^18.2.44",
"@typescript-eslint/eslint-plugin": "latest",
"@typescript-eslint/parser": "latest",
"bob": "^3.1.0",
"commitlint": "^17.0.2",
"del-cli": "^5.1.0",
"eslint": "^8.51.0",
Expand Down
Loading

0 comments on commit 183638c

Please sign in to comment.