Skip to content

Merge branch 'movie-app-update' #27

Merge branch 'movie-app-update'

Merge branch 'movie-app-update' #27

Workflow file for this run

# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions
name: Node.js CI
on:
push:
branches: [main]
paths:
- "**.html"
- "**.js"
- "**.jsx"
workflow_dispatch:
workflow_call:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version-file: "package.json"
cache: "npm"
cache-dependency-path: "**/package-lock.json"
- run: npm ci
- run: npm run build
- run: npm run lint:dist
- name: Upload artifact
uses: actions/upload-pages-artifact@v1
with:
path: dist