Skip to content

Commit

Permalink
github action for lint and test
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasm0 committed Nov 18, 2024
1 parent 11e5211 commit 141629a
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/lint-test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Lint and test

on:
push:
branches-ignore: [main]

jobs:
setup:
name: Setup and install
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
with:
fetch-depth: 0
- uses: actions/setup-node@v4
with:
node-version: '20.x'
cache: npm

- name: Install dependencies
run: npm ci
- name: Lint scripts
run: npm run lint
- name: Test application
run: npm run test run

0 comments on commit 141629a

Please sign in to comment.