feat(astro): add "Download lesson as zip" button #705
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: CLI Integration Tests | |
on: | |
pull_request: | |
workflow_dispatch: | |
push: | |
branches: | |
- main | |
jobs: | |
skip: | |
name: CLI Integration Tests | |
runs-on: ubuntu-latest | |
steps: | |
- name: skip | |
run: echo skip | |
cli-integration-test: | |
name: CLI Integration Test Matrix | |
# Note: `prepare-release.yaml` sets this commit message | |
if: ${{ contains(github.event.pull_request.title, 'release CLI') || github.event_name == 'workflow_dispatch' || github.event_name == 'push' }} | |
runs-on: ${{ matrix.os }} | |
strategy: | |
fail-fast: false | |
matrix: | |
os: [ubuntu-latest] | |
node-version: [18, 20, 22] | |
include: | |
- os: macos-latest | |
node_version: 20 | |
- os: windows-latest | |
node_version: 20.13.1 | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- uses: ./.github/actions/setup-and-build | |
with: | |
node-version: ${{ matrix.node-version }} | |
- name: Update template's versions | |
working-directory: ./packages/cli | |
run: pnpm build-release | |
- name: Integration Tests | |
working-directory: ./integration | |
run: pnpm test |