Skip to content

Commit

Permalink
Add github action to run tests
Browse files Browse the repository at this point in the history
  • Loading branch information
pamella committed Jan 11, 2024
1 parent e259b0e commit 61acf51
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions .github/workflows/run-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
name: Run Tests

on:
pull_request:
branches: [main]
push:
branches: [main, github-action-run-test]

jobs:
test:
runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v2

- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: '20'

- name: Install Dependencies
run: npm ci

- name: Run Tests
run: npm test

0 comments on commit 61acf51

Please sign in to comment.