Skip to content

added docker

added docker #5

Workflow file for this run

name: CI
on:
push:
branches: [main]
pull_request:
branches: [main]
concurrency:
group: ci-${{ github.ref }}
cancel-in-progress: true
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout repo
uses: actions/checkout@v4
- name: Setup Node
uses: actions/setup-node@v4
with:
node-version: 22
cache: "npm"
- name: Install dependencies
run: npm install
- name: Lint
run: npm run lint
- name: Type Check
run: npm run typecheck || npm run build --dry-run
- name: Test
run: npm test
- name: Build Docker Image
run: docker build -t playwithalgorithms .
- name: Build
run: npm run build