示例工程 52-ci-matrix-smoke

52-ci-matrix-smoke/app/fixtures/fork.yml

yaml · 0.4 KB

name: fork-ci
on: pull_request_target
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        os:
          - ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
        with:
          ref: ${{ github.event.pull_request.head.sha }}
      - run: pnpm install
      - run: echo "token=${{ secrets.TOKEN }}"
      - run: pnpm package