Skip to content

feat: dockerize (#53) #175

feat: dockerize (#53)

feat: dockerize (#53) #175

Workflow file for this run

name: Run tests
on:
pull_request:
push:
branches: [develop]
jobs:
test:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Read nvmrc
run: echo "nvmrc=$(cat .nvmrc)" >> "$GITHUB_OUTPUT"
id: nvm
- uses: actions/setup-node@v3
with:
node-version: ${{ steps.nvm.outputs.nvmrc }}
cache: "npm"
- name: Install dependencies
run: npm ci
- name: Run tests
run: npm test