Skip to content

replace husky with lefthook #14

replace husky with lefthook

replace husky with lefthook #14

Workflow file for this run

name: CI/CD
on:
push:
branches: ['master']
workflow_dispatch:
permissions:
contents: read
pages: write
id-token: write
concurrency:
group: 'pages'
cancel-in-progress: false
jobs:
format:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run format:check
lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run lint:check
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run build --workspace @sofash/cli
- run: node packages/cli/dist/rav-hen/scripts/create-calendar.js --cinemaId 1058 --date 2024-06-09
- uses: actions/upload-pages-artifact@v3
with:
path: './packages/cli/data'
deploy:
runs-on: ubuntu-latest
needs:
- generate
steps:
- uses: actions/deploy-pages@v4