Skip to content

Commit

Permalink
Add minimal github action for yarn tests
Browse files Browse the repository at this point in the history
  • Loading branch information
WardBrian committed Jun 14, 2024
1 parent 9f1937e commit 925c320
Showing 1 changed file with 31 additions and 0 deletions.
31 changes: 31 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test stan-playground

on:
pull_request:
branches: ['main']
workflow_dispatch:

permissions:
contents: read

concurrency:
group: 'tests'
cancel-in-progress: true

jobs:
frontend-tests:
name: yarn tests
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Set up Node
uses: actions/setup-node@v4
with:
node-version: 20
cache: 'yarn'
cache-dependency-path: gui/yarn.lock
- name: Install dependencies
run: cd gui; yarn
- name: Build
run: cd gui; yarn test

0 comments on commit 925c320

Please sign in to comment.