Skip to content

Commit

Permalink
👷 adds testing workflow for GitHub Action
Browse files Browse the repository at this point in the history
  • Loading branch information
sjproctor committed May 8, 2024
1 parent 01f7cfd commit e9674c5
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Web Tests

on: push

env:
NODE_OPTIONS: --max_old_space_size=4096

jobs:
web_test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v2
with:
node-version: "21"

- name: Restore workspace cache
uses: actions/cache@v3
with:
path: "**/node_modules"
key: ${{ runner.os }}-${{ hashFiles('**/yarn.lock') }}

- name: Install dependencies
run: yarn

- name: Run unit tests
run: yarn test

0 comments on commit e9674c5

Please sign in to comment.