Skip to content

See if tests run wthout specifying mongo in config #1

See if tests run wthout specifying mongo in config

See if tests run wthout specifying mongo in config #1

Workflow file for this run

name: Repo
on:
push:
branches:
- '*' # This will make sure all push events on any branch triggers this workflow.
env:
NODE_VERSION: 20.x
jobs:
test:
runs-on: ubuntu-latest
steps:
- run: echo "Triggered by ${{ github.event_name }} event."
- name: Check out repository code ${{ github.repository }} on ${{ github.ref }}
uses: actions/checkout@v3
- name: Set up Node.js ${{ env.NODE_VERSION }}
uses: actions/setup-node@v3
with:
node-version: ${{ env.NODE_VERSION }}
cache: 'npm'
- name: Restore node modules from cache
uses: actions/cache@v3
with:
path: node_modules
key: ${{ runner.os }}-node-${{ hashFiles('**/yarn.lock') }}
restore-keys: |
${{ runner.os }}-node-
- name: Test
if: true
uses: borales/actions-yarn@v4
with:
cmd: test