Merge pull request #271 from QwikDev/changeset-release/main #177
This file contains hidden or 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 | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
jobs: | |
test: | |
name: π§ͺ Test the CLI on ${{ matrix.runtime }} under ${{ matrix.os }} using ${{ matrix.pm }} | |
runs-on: ${{ matrix.os }} | |
continue-on-error: ${{ matrix.experimental }} | |
strategy: | |
fail-fast: true | |
matrix: | |
os: [ubuntu-latest, macos-latest, windows-latest] | |
experimental: [false] | |
runtime: [node, deno, bun] | |
pm: ["", pnpm, yarn] | |
steps: | |
- name: π Checkout repository | |
uses: actions/checkout@v4 | |
- name: π₯ Remove lockfile | |
run: rm pnpm-lock.yaml | |
- name: π¦οΈ Install Panam | |
run: npm i -g panam-cli | |
- name: Setup Test Environment | |
uses: siguici/setup-js@v1 | |
with: | |
runtime: ${{ matrix.runtime }} | |
pm: ${{ matrix.pm }} | |
scripts: build,test | |
cwd: ./libs/create-qwikdev-astro |