Skip to content

conf(ci): split due to having draft releases now #32

conf(ci): split due to having draft releases now

conf(ci): split due to having draft releases now #32

Workflow file for this run

on:
push:
pull_request:
jobs:
ci:
runs-on: ubuntu-latest
strategy:
matrix:
task: [oxlint, oxfmt, build, test:ci]
steps:
- uses: actions/checkout@v4
- uses: jdx/mise-action@v2
- run: echo "STORE_PATH=$(pnpm store path --silent)" >> $GITHUB_ENV
- uses: actions/cache@v4
with:
path: ${{ env.STORE_PATH }}
key: ${{ runner.os }}-pnpm-store-${{ hashFiles('**/pnpm-lock.yaml') }}
restore-keys: |
${{ runner.os }}-pnpm-store-
- run: mise run install --frozen-lockfile
- run: mise run ${{ matrix.task }}
- name: Upload coverage artifacts
if: matrix.task == 'test:ci'
uses: actions/upload-artifact@v4
with:
name: coverage
path: coverage