Merge pull request #50 from ergon/renovate/actions-checkout-4.x #155
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Run tests | |
on: [ push ] | |
jobs: | |
test: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v4 | |
- name: Setup Node.js 19 | |
uses: actions/setup-node@v3 | |
with: | |
node-version: 19 | |
cache: npm | |
cache-dependency-path: ./server/package-lock.json | |
- name: Install dependencies | |
run: npm ci | |
working-directory: ./server | |
- name: Run Tests | |
run: npm run test | |
working-directory: ./server |