Skip to content

Commit

Permalink
Merge pull request #726 from jorenn92/ci/integration-test-workflow
Browse files Browse the repository at this point in the history
ci: refactor build & add integration test workflow
  • Loading branch information
jorenn92 authored Jan 8, 2024
2 parents cd77df5 + 316afd6 commit a19a6e6
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
File renamed without changes.
29 changes: 29 additions & 0 deletions .github/workflows/run_jest_tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: "Run tests"

on:
pull_request:
branches:
- "main"
workflow_dispatch:

permissions:
contents: read

jobs:
run_tests:
name: Run integration tests
runs-on: ubuntu-latest
steps:
- name: Check out the repo
uses: actions/checkout@v4

- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: "20.x"

- name: Install dependencies
run: yarn --frozen-lockfile

- name: Run tests
run: yarn test

0 comments on commit a19a6e6

Please sign in to comment.