preview-release.yml
This file
Path
.github/workflows/preview-release.yml
29 lines · 772 bytes · YAML
Last changed by
update pnpm etc (#3512)Daishi Katobefore adoption8476d2c
History of this fileTake it
ci(.github/workflows): rename 'cr' to 'preview-release' (#3069)Wonsuk Choibefore adoption473cfbf
lines 1–2why, one step back1name: Preview Release2update pnpm etc (#3512)Daishi Katobefore adoption8476d2c
lines 3–7why, one step back3on:4 push:5 branches: [main]6 pull_request:7 types: [opened, synchronize]ci(.github/workflows): rename 'cr' to 'preview-release' (#3069)Wonsuk Choibefore adoption473cfbf
line 8why, one step back8workflow: stricter permissionsdaishibefore adoption889077c
lines 9–11why, one step back9permissions:10 contents: read11ci(.github/workflows): rename 'cr' to 'preview-release' (#3069)Wonsuk Choibefore adoption473cfbf
lines 12–14why, one step back12jobs:13 preview_release:14 runs-on: ubuntu-latestworkflow: stricter permissionsdaishibefore adoption889077c
lines 15–17why, one step back15 permissions:16 contents: read17 pull-requests: writeci(.github/workflows): rename 'cr' to 'preview-release' (#3069)Wonsuk Choibefore adoption473cfbf
line 18why, one step back18 steps:ci(.github/workflows): pin GitHub Actions to commit hashes (#3381)Wonsuk Choibefore adoption7fc3991
line 19why, one step back19 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2workflow: stricter permissions 2daishibefore adoption6784d1e
lines 20–21why, one step back20 with:21 persist-credentials: falseupdate pnpm etc (#3512)Daishi Katobefore adoption8476d2c
lines 22–23why, one step back22 - uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.823 - uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0ci(.github/workflows): rename 'cr' to 'preview-release' (#3069)Wonsuk Choibefore adoption473cfbf
lines 24–29why, one step back24 with:25 node-version: 'lts/*'26 cache: 'pnpm'27 - run: pnpm install28 - run: pnpm run build29 - run: pnpm dlx pkg-pr-new publish './dist' --compact --template './examples/*'