Skip to content

Commit

Permalink
Merge pull request #23 from jonkoops/github-ci
Browse files Browse the repository at this point in the history
Add a workflow file to run a CI
  • Loading branch information
paceaux authored Sep 25, 2023
2 parents d814053 + f33d1f5 commit e4b52f7
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: CI
on:
push:
branches: [master]
pull_request:
branches: [master]
jobs:
run-ci:
runs-on: ubuntu-latest
steps:
- name: Check out repository
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: 18
check-latest: true
cache: npm

- name: Install dependencies
run: npm ci

- name: Run 'lint' task
run: npm run lint

- name: Run 'test' task
run: npm run test

0 comments on commit e4b52f7

Please sign in to comment.