Skip to content

Commit

Permalink
Ignore linting when building and testing example repos, fix install
Browse files Browse the repository at this point in the history
  • Loading branch information
jpwilliams committed Jul 27, 2023
1 parent d7aa7b3 commit cf0042f
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -135,8 +135,10 @@ jobs:
path: examples/apps/${{ matrix.example }}

# Install dependencies in the example repo
# Don't use "npm ci", "--immutable" etc., as example repos won't be
# shipped with lock files.
- name: Install example dependencies
run: nci
run: ni
working-directory: examples/apps/${{ matrix.example }}

- name: Add local SDK to example
Expand All @@ -155,6 +157,11 @@ jobs:
- name: Copy functions to test to example
run: cp -Tr ../../../examples/functions/ ${{ steps.inngest-functions-path.outputs.dir }}
working-directory: examples/apps/${{ matrix.example }}
# Rules for every project can be different; ignore the example functions
# we've just added.
- name: Ignore ESLint in example functions
run: echo '**/inngest/**' >> .eslintignore
working-directory: examples/apps/${{ matrix.example }}

# Try to build the example
- name: Build the example
Expand Down

0 comments on commit cf0042f

Please sign in to comment.