Skip to content

Commit

Permalink
Merge pull request clearlydefined#551 from lumaxis/add-github-actions…
Browse files Browse the repository at this point in the history
…-workflow

Add GitHub Actions workflow to run tests
  • Loading branch information
lumaxis authored Feb 2, 2024
2 parents 1896b84 + 25195d9 commit 60264c0
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Run tests

on:
push:
branches:
- master
pull_request:
branches:
- master

permissions:
contents: read

jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4.1.1

- uses: actions/setup-node@v4.0.1
with:
node-version: 18
cache: 'npm'

- name: Install dependencies
run: npm ci

- name: Run tests
run: npm test

0 comments on commit 60264c0

Please sign in to comment.