Skip to content

more github actions #12

more github actions

more github actions #12

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
generate:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: ./.github/actions/setup
- run: npm run build --workspace @sofash/cli
- run: npm run start cinema rav-hen --workspace @sofash/cli -- --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