Skip to content

Merge pull request #35 from TheBeyondGroup/dependabot/npm_and_yarn/ro… #12

Merge pull request #35 from TheBeyondGroup/dependabot/npm_and_yarn/ro…

Merge pull request #35 from TheBeyondGroup/dependabot/npm_and_yarn/ro… #12

Workflow file for this run

name: Run Tests
on:
# Trigger the workflow on push or pull request,
# but only for the main branch
push:
branches:
- main
pull_request:
paths:
- 'src/**/*.js'
- 'test/**/*.js'
branches:
- main
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Setup Node 18.x
uses: actions/setup-node@v4
with:
node-version: '18.x'
cache: 'yarn'
- name: Install packages
run: yarn install
- name: Run Tests
run: yarn test