Skip to content

Feat/dockerize app

Feat/dockerize app #97

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: ['*']
jobs:
build-and-test:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [18.x]
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: 'yarn'
cache-dependency-path: 'yarn.lock'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Lint code
run: yarn run lint
- name: Run tests
run: yarn run test
- name: Build project
run: yarn run build