示例工程 52-ci-matrix-smoke

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

yaml · 0.4 KB

name: ci
on: pull_request
jobs:
  build:
    runs-on: ubuntu-latest
    strategy:
      matrix:
        os:
          - ubuntu-22.04
    steps:
      - uses: actions/checkout@v4
      - uses: actions/setup-node@v4
        with:
          node-version: latest
      - run: pnpm install
      - run: pnpm test
      - run: echo "token=${{ secrets.NPM_TOKEN }}"
      - run: pnpm package