Skip to content

Commit

Permalink
Fix linting order
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonbosco committed Aug 30, 2024
1 parent cef0e95 commit bc4d13b
Showing 1 changed file with 3 additions and 14 deletions.
17 changes: 3 additions & 14 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,6 @@ name: tests
on: [push, pull_request_target]

jobs:
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
with:
ref: ${{ github.event.pull_request.head.sha || github.ref }}
- uses: actions/setup-node@v3
with:
node-version: 18.17.1
cache: npm
- run: npm install
- name: Run ESLint
run: npm run lint

# Source: https://iterative.ai/blog/testing-external-contributions-using-github-actions-secrets
authorize:
environment:
Expand Down Expand Up @@ -46,6 +32,9 @@ jobs:
- run: npm install
- run: npm install -g firebase-tools
- run: cd functions && npm install
- name: Run ESLint
run: npm run lint
continue-on-error: false # Ensure the workflow fails if ESLint fails
- name: Run Tests
env:
FIREBASE_TOKEN: ${{ secrets.FIREBASE_TOKEN }}
Expand Down

0 comments on commit bc4d13b

Please sign in to comment.