name: Build

on: push

jobs:
  build:
    runs-on: ubuntu-latest
    steps:
    - name: Checkout
      uses: actions/checkout@v2
    - name: Install NPM dependencies
      run: npm install
    - name: Build
      run: npm run build
    - name: Upload build artifact
      uses: actions/upload-artifact@v2
      with:
        name: stremio-web
        path: build
