Skip to content

Commit

Permalink
fix: eslint action
Browse files Browse the repository at this point in the history
  • Loading branch information
kobenguyent authored Oct 1, 2024
1 parent 9ff3d1d commit 16de5c8
Showing 1 changed file with 1 addition and 18 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ on:
- '**'

jobs:
lint-check:
build:
runs-on: ubuntu-latest

steps:
Expand All @@ -22,24 +22,7 @@ jobs:
cache: 'npm' # Enables caching for faster npm installs

- run: npm ci
# Use npm ci instead of npm install for cleaner installs from package-lock.json

- run: npm run lint
# Run linting checks

tests:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v3

- name: Set up Node.js 20.x
uses: actions/setup-node@v3
with:
node-version: '20.x'
cache: 'npm' # Enables caching for faster npm installs

- run: npm ci

- run: npm run test-server &
# Starts test-server in the background
Expand Down

0 comments on commit 16de5c8

Please sign in to comment.