Skip to content

Merge pull request #4 from antonkorotkov/dev #19

Merge pull request #4 from antonkorotkov/dev

Merge pull request #4 from antonkorotkov/dev #19

Workflow file for this run

# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs
name: Node.js CI
on:
push:
branches: [ "main", "dev" ]
pull_request:
branches: [ "dev" ]
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Use Node.js
uses: actions/setup-node@v3
with:
node-version: 18
cache: 'npm'
cache-dependency-path: '**/package-lock.json'
- name: Install
run: npm ci
working-directory: ./app
- name: Test
run: npm test
working-directory: ./app