[remix-adapter-bunshine] vite dev server working #15
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: Install and Test | |
on: push | |
jobs: | |
run: | |
runs-on: ubuntu-latest | |
strategy: | |
matrix: | |
package: [bunshine, connect-to-fetch] | |
bun-version: [1.1.33, latest] | |
steps: | |
- name: ➡️ Checkout repository | |
uses: actions/checkout@v4 | |
- name: 🧅 Set up Bun | |
uses: oven-sh/setup-bun@v2 | |
with: | |
bun-version: ${{ matrix.bun-version }} | |
- name: ⬇️ Install dependencies | |
working-directory: packages/${{ matrix.package }} | |
run: bun install | |
- name: 🏃 Run tests | |
working-directory: packages/${{ matrix.package }} | |
run: bun run coverage | |
- name: ☂️ Upload to codecov | |
if: matrix.bun-version == 'latest' | |
uses: codecov/codecov-action@v4 | |
with: | |
files: packages/${{ matrix.package }}/coverage/lcov.info | |
flags: ${{ matrix.package }} | |
name: ${{ matrix.package }}-coverage | |
fail_ci_if_error: true | |
token: ${{ secrets.CODECOV_TOKEN }} | |
verbose: true |